Is there is any error if you have multiple main methods in
the same class?
Answer Posted / jhonty
this is called data hiding.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What are the restrictions imposed on method overriding?
What is scope & storage allocation of global and extern variables? Explain with an example
Define the term string pool?
Can interface be private in java?
What does jenkins do?
What is parsing a sentence?
What is pre increment and post increment in java?
How do you sort objects in java?
Where are local variables stored?
Can you sort a list in java?
What is the difference between JVM and JRE?
Why is java called java?
How is string immutable in java?
In java, how we can disallow serialization of variables?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?