File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SCJP 5.0 Inner Class Doubt

 
Kedar Savarkar
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are Inner classes on the new SCJP 5.0. I can't make out from the objectives clearly.?

Best Regards
 
Philip Heller
author
Ranch Hand
Posts: 119
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Various objectives (e.g. 1.1 and 1.6) refer to "nested classes". I believe there's a slight technical difference between nested classes and inner classes, but in common parlance they're just about the same thing, and you need to know about them for the exam.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to Sun's definitions, nested classes are a superset of inner classes. Nested classes include static member classes and inner classes. Inner classes include nonstatic member classes, local classes, and anonymous classes. So "nested classes" includes all these.
 
Tony Morris
Ranch Hand
Posts: 1608
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://qa.jtiger.org/GetQAndA.action?qids=67
What is the difference between a nested class, an inner class, a local class, an anonymous class and a member class (or interface)?

Yes, inner classes are in the SCJP 5.0 exam.
 
Kedar Savarkar
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you all for the prompt reply.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic