Why only one Class is public in one file? Explain in
details. Thanks in Advance.
Answer Posted / janardhan
In an aplication public class is main class with main()
method as entry point
java compiler allows only one public class in file
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can You Have Virtual Functions In Java?
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
What is the difference between preemptive scheduling and time slicing?
What is files manifesting?
How java is similar to c?
Why arraylist is not synchronized in java example?
Can you override private or static method in java?
What is map in java?
What are 5 boolean operators?
What are some alternatives to inheritance?
Difference between object instantiation and construction ?
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
How do you control extraneous variables?
What is int argc char * argv?
When should I use stringbuffer?