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
What java is used for?
What is the difference between Grid and Gridbaglayout?
Explain the features of java?
What are the types of inner classes (non-static nested class) used in java?
How do you sort an array in java?
What is difference between arraylist and list in java?
What happens if we override private method?
What type of language is java?
Is array a class in java?
Is java 9 released?
What are constructors in java?
What are the important methods of java exception class?
Is minecraft java edition free?
What is the file type?
make a method which any number and any type of argument and print sum of that arguments.....