This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes what is the correct answer? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "what is the correct answer?" Watch "what is the correct answer?" New topic
Author

what is the correct answer?

Neha Daga
Ranch Hand

Joined: Oct 30, 2009
Posts: 504
question is from www.certcrunch.com





Which of the following occur at least once when the code is compiled and run? (Choose all
that apply.)


A. Adding Hans

B. Adding Lotte

C. Adding Jane

D. Total: 3

E. Total: 5

F. The code does not compile.

G. An exception is thrown at runtime.

SCJP 1.6 96%
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9408
    
  20

Do you have anything specific that you didn't understand in the question?? A,B,C and E seem the correct answer to me...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Neha Daga
Ranch Hand

Joined: Oct 30, 2009
Posts: 504
they say the answer is f.
Neha Daga
Ranch Hand

Joined: Oct 30, 2009
Posts: 504
never mind...I run that program and websites answer is wrong.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: what is the correct answer?
 
It's not a secret anymore!