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 does %4d mean in java?
What are the differences between heap and stack memory?
What is join () in java?
how does multithreading take place on a computer with a single cpu? : Java thread
What is floating data type?
How can we run a java program without making any object?
Can finally block be used without a catch?
What is a buffer in computer?
What are the three parts of a lambda expression?
What is the latest java version?
what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread
Define max and min heap, also the search time of heap.
Under what conditions is an object’s finalize() method invoked by the garbage collector?
What is thread start?
Difference between static and dynamic class loading.