File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Inner classes in the Data.java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Inner classes in the Data.java" Watch "Inner classes in the Data.java" New topic
Author

Inner classes in the Data.java

Krzysiek Hycnar
Ranch Hand

Joined: Jan 02, 2004
Posts: 74
Hi all,

This's been my first post here (I previously posted to SCJP and SCWCD forums)

I've got a question on using inner classes in SCJD assignment, namely - do I have to generate accessor/mutator pair for every property of an inner class or it's acceptable to utilize the special relationship that is between inner and outer class and use them in a regular manner ex. inner_class_instance.inner_class_property ??

Regards
Krzysiek
Frank Hardy
Greenhorn

Joined: Aug 17, 2004
Posts: 13
Hi Krzysiek,

I use inner classes too (I like them ) and I'm also unsure about this. Most of my inner classes are private and used as pure data structures. Hence, most of their member attributes are final and then I used not to implement the accessor methods for these attributes. I described it in the java doc. I hope this may satisfy the examiners.

Greetz,

Franky.


SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inner classes in the Data.java