New Year Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

GIAC GSSP-Java - GIAC Secure Software Programmer – Java

Page: 9 / 9
Total 275 questions

Which of the following code fragments will compile without error?

Each correct answer represents a complete solution. Choose all that apply.

A.

boolean a = false;

if(a)

System.out.println(a);

B.

int a = 10;

if(a != 10)

System.out.println(a);

C.

int a = 0;

if(a)

System.out.println(a);

D.

boolean a = true;

if(!a);

Which of the following statements make a message-driven bean different from a session bean?

Each correct answer represents a complete solution. Choose all that apply.

A.

Multiple clients can be processed by a single message-driven bean.

B.

A message-driven bean has only one bean class.

C.

Clients do not access message-driven beans through interfaces.

D.

The EJB container can assign a message to any message-driven bean instance because all instances of a message-driven bean are equivalent.

E.

Data or conversational state for a specific client cannot be retained by message-driven bean instances.