can you use the two main method in same class?how?
Answer Posted / sanjay kalamdhad
yes,we can do it by method overloading concept in .net too but with using different signature.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is the function of java?
How many bytes is double?
In a container there are 5 components. I want to display all the component names, how will you do that?
Is set sorted in java?
Is string passed by reference in java?
Can a set contain duplicates?
What is the use of arraylist in java?
How many types of variables are there?
What is nested top-level class?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
what is the difference between the methods sleep() and wait()? : Java thread
How does map works in java?
What are the various access specifiers for java classes?
Why we do exception handling in java and how many types of exceptions are there?