Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
In java why we cannot able to declare more than one class in public ?
Posted
Comments
[no name] 13-Jul-13 9:49am    
Your question as written makes no sense. You need to clarify what you mean.

1 solution

It is just an attempt to enforce good design/structure. There is no underlying technical reason for it.

/Fredrik
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900