View Single Post
  #16 (permalink)  
Old 09-10-2008, 08:38 AM
danielstoner's Avatar
danielstoner danielstoner is offline
Senior Member
 
Join Date: Apr 2008
Location: Canada
Posts: 191
danielstoner is on a distinguished road
There is only one public class per file as Fubarable said above. The only reason for defining more classes in a file is to keep them from being used by code outside that file. Not your case! Define B in its own file called B.java
__________________
Daniel @ [
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
Language is froth on the surface of thought
Reply With Quote