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
Explain the JDB in depth & command line.
What is meant by attribute?
how we can create packages in java?
What does java edition mean?
Are arrays dynamic in java?
Are primitives objects?
Can we sort a map in java?
Can we make the abstract methods static in java?
we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.
What is a void method?
What is meant by flickering?
What is the use of default method in interface in java?
Can a main method be declared final?
What does the “final” keyword mean in front of a variable? A method? A class?
How many types of threads are there in java?