O'Reilly logo

SCJP Sun Certified Programmer for Java 6 Study Guide by Bert Bates, Kathy Sierra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Image

 

What is the result?

A. true true

B. false true

C. true false

D. false false

E. Compilation fails

F. An exception is thrown at runtime

6. Given:

Image

 

What is the result?

A. pre b1 b2 r3 r2 hawk

B. pre b2 b1 r2 r3 hawk

C. pre b2 b1 r2 r3 hawk r1 r4

D. r1 r4 pre b1 b2 r3 r2 hawk

E. r1 r4 pre b2 b1 r2 r3 hawk

F. pre r1 r4 b1 b2 r3 r2 hawk

G. pre r1 r4 b2 b1 r2 r3 hawk

H. The order of output cannot be predicted

I. Compilation fails

7. Given:

Image

 

Which are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required