What happens when a main method is declared as private?
Answer Posted / ashish
it compile easily... but it will give an error at the time
of execution .....
| Is This Answer Correct ? | 12 Yes | 5 No |
Post New Answer View All Answers
What is the program compilation process?
Can we extend a class with private constructor?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
Define interface in java?
Why do we use variables?
What are the important methods of java exception class?
What is independent and dependent variables in research?
How many types of the indexof method are there for strings?
Is age a discrete variable?
What are the types of strings?
What is the purpose of the system class in java?
What is java reflection?
Which collection allows duplicate values in java?
What is difference between wait and notify in java?
What is object class in java?