50 classes access is public and 20 classes default… what is the number of . java files……
the answers are
1)20
2)70
3)51
4)50
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
50 classes access is public and 20 classes default… what is the number of . java files……
the answers are
1)20
2)70
3)51
4)50
The number of .java files 50. However the number of .class files would be 70 (provided that there are no inner classes).
abhishekraok2003 (May 16th, 2009)
Hello abhishekraok2003, welcome to the Java Programming Forums
These links will help you clear up any doubts.
Java Programming/Access Modifiers - Wikibooks, collection of open-content textbooks
Controlling Access to Members of a Class (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
Please use [highlight=Java] code [/highlight] tags when posting your code.
Forum Tip: Add to peoples reputation by clicking the button on their useful posts.
abhishekraok2003 (May 16th, 2009)