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
Does garbage collection occur in permanent generation space in jvm?
What are the methods used to implement for the key object in the hash map?
What is a line break?
What is java util concurrentmodificationexception?
What are the main features of java?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
Define how does a try statement determine which catch clause should be used to handle an exception?
What is the default value of byte datatype in java?
What is the primary benefit of encapsulation?
How to make a class or a bean serializable?
Garbage collection in java?
Tell us something about different types of casting?
What are the topics in core java?
Explain about complier design(phases)
What is default switch case? Give example.