What happens when a main method is declared as private?
Answer Posted / pankaj kumar
i have checked it using c# in visual Studio.
then i found that there is no error in compilation or in run.
it is giving right output as we want without any error.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Name container classes in java programming?
Is hashset ordered?
What is <> used for in java?
What is the purpose of sizeof operator?
In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?
What is the program development process?
What is the use of hashmap in java?
What is the longest unicode character?
If you do not want your class to be inherited by any other class. What would you do?
How many types of variables are there?
How to pass arraylist to stored procedure in java?
Why is singleton class used?
What is Classloader in Java?
Can we convert integer to string in java?
What is the use of coding?