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 parameters example?
Why are constructors used?
What is the difference between method overriding and overloading?
What are register variables what are the advantages?
What is static variable with example?
Can we define constructor in inner class?
Is boolean a wrapper class in java?
What is the type of lambda expression?
What is void keyword?
How to perform selection sort in java?
What is an image buffer?
What do heavy weight components mean in java programming?
What is stringreader?
What is the functionability stubs and skeletons?
what is object slice?