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


Please Help Members By Posting Answers For Below Questions

Is java still relevant?

494


When is the finalize() called? What is the purpose of finalization?

577


What modifiers may be used with a top-level class?

571


How can u increase the heap size in the memory?

548


List some oops concepts in java?

578






What is java virtual machine? Explain

564


What is ordered map in java?

535


What are passing parameters?

585


What is unicode datatype?

521


How do you do exponents in java?

534


What are the steps in the jdbc connection?

570


Is 0 an even number?

544


Explain the difference between transient and volatile in java?

571


What is the difference between JVM and JRE?

616


What are actual parameters?

519