• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

K & B: Inner Classes Self-Test

 
Venkat Sidh
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2409
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a careful look again at the syntax in D.
 
Venkat Sidh
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
got it {} instead of {}

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic