Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Simple Java Doubt

807603Feb 8 2008 — edited Feb 8 2008
I know that class declared as public should be named as file name.

I like to know why java has this restriction?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 7 2008
Added on Feb 8 2008
4 comments
77 views