File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes K & B: Inner Classes Self-Test Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "K & B: Inner Classes Self-Test" Watch "K & B: Inner Classes Self-Test" New topic
Author

K & B: Inner Classes Self-Test

Venkat Sidh
Ranch Hand

Joined: Sep 30, 2006
Posts: 61
I'm puzzled over the following question (Pg 659, Qn#3),



Answer is E but I thought it should be D,E since there's no difference b/w D and E except for System.out.println
Any ideas?
[ October 27, 2006: Message edited by: Venkat Sidh ]
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2341
Take a careful look again at the syntax in D.
Venkat Sidh
Ranch Hand

Joined: Sep 30, 2006
Posts: 61
got it {} instead of {}

Thanks.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: K & B: Inner Classes Self-Test
 
Similar Threads
Inner Class
Anonymous Inner Class
Inner Classes Mock question doubt
Annonymous Inner Class
K&B Chapter 8: Inner Classes - Self Test