What happens when a main method is declared as private?
Answer Posted / pankaj kumar
I have checked it proper in C# using visual studio.
its giving right output without any error at compile time or run time.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a line separator in java?
What is the base class in java from which all classes are derived?
What is method overloading in java ?
Explain the difference between comparator and comparable in java?
Explain about wait() method?
What's the difference between int and integer in java?
When we should use serialization?
What is the difference between a static and a non-static inner class in java programming?
What is derived datatype?
What is thread safe singleton?
What’s the difference between applets and standalone program?
What are the basic interfaces of java collections framework?
What is java autoboxing?
What is empty list in java?
Define inheritance with reference to java.