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
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
why Interface used?
What is compareto?
Explain about public and private access specifiers?
Is empty list java?
What purpose do the keywords final, finally, and finalize fulfill?
What is a qualifier in a sentence?
Explain the concept of hashtables?
When is the finalize() called? What is the purpose of finalization?
How can you write a loop indefinitely in java programming?
What is the difference between a method and a procedure?
What is the difference between private & public & friendly classes?
What is r in java?
What is the difference between error and an exception?
Give example to differentiate between call by value and call by reference.