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
What is the meaning of flag day?
Why constructor has no return type?
can any body body expalin best definitions & best real time exaples for opps concepts.
What is nested loop? What is dangling else condition in it?
Which access specifier can be used with class ?
What are different types of encoding?
How do you add an arraylist to an array in java?
What is the purpose of default constructor?
Explain about automatic type conversion in java?
What are actual parameters?
why are there separate wait and sleep methods? : Java thread
How do you achieve singleton?
What is the use of parseint in java?
Why put method is idempotent?
What is a package in java? List down various advantages of packages.