• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is the correct answer?

 
Neha Daga
Ranch Hand
Posts: 504
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ankit Garg
Sheriff
Posts: 9528
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have anything specific that you didn't understand in the question?? A,B,C and E seem the correct answer to me...
 
Neha Daga
Ranch Hand
Posts: 504
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
they say the answer is f.
 
Neha Daga
Ranch Hand
Posts: 504
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
never mind...I run that program and websites answer is wrong.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic