Black Friday Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

Which of the following methods evaluates the global policy for the permissions granted to the

ProtectionDomain and tests whether the permission is granted?

A.

implies

B.

getPolicy

C.

isPolicy

D.

getType

Which of the following attribute scopes does not exist for a Servlet?

A.

Request

B.

Session

C.

Context

D.

Page

Identify whether the given statement is true or false.

"A try statement can be placed inside the code block that follows another try statement."

A.

True

B.

False

Which of the following exceptions is thrown to indicate that a servlet is temporarily unavailable?

A.

ServletException

B.

ApplicationException

C.

IllegalStateException

D.

IOException

E.

UnavailableException

F.

IllegalAccessException

Which of the following methods is used by the AccessController to determine whether or not a requested permission is used by another permission that is known to be valid in the current execution context?

A.

equals

B.

checkPermission

C.

implies

D.

validate

Identify whether the given statement is true or false.

"JAR files can be used while compiling but not while executing other files."

A.

False

B.

True

Identify whether the given statement is true or false.

"An object becomes eligible for garbage collection when it becomes unreachable by any code."

A.

False

B.

True

Consider the given lines of codE.

package ucert

class memberaccess

{

public int mem = 10;

}

Which of the following can directly access the variable mem?

A.

Any class

B.

Any class that extends the memberaccess class

C.

Only the memberaccess class

D.

Any class in the package ucert

According to the EJB programming restrictions, which of the following should be used to access the files or directories?

A.

A resource manager API

B.

An output device such as screen display

C.

An enterprise bean

D.

An input device such as a keyboard

Identify whether the given statement is true or false.

"JAR files can be used while compiling but not while executing other files."

A.

False

B.

True