Why only one Class is public in one file? Explain in
details. Thanks in Advance.
Answer Posted / rakesh soni
Hi Mahendra,
This is OK that, compiler allowed only one class as public
per file. But my question is, why compiler allowed only one
class as a public in one file, why not more then one???
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
What are latest features introduced with java 8?
Explain restrictions on using enum?
Explain JMS in detail.
What mechanism does java use for memory management?
What is method overriding in java ?
What is bifunction in java?
Why are arrays useful in java?
Explain about assignment statement?
Is java an ide?
Explain the significance of class loaders in bootstrap?
Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification
What is meant by vector class, dictionary class, hash table class, and property class?
What is string [] args?
What is the null?
What is an enumeration?