can you use the two main method in same class?how?
Answer Posted / rajasekhar
yes
it is possible by using static inner class concept
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is the difference between jdk and jre?
Which class contains a method: cloneable or object?
What are the parts of a method?
If a class is declared without any access modifiers, where may the class be accessed in java programming?
What purpose do the keywords final, finally, and finalize fulfill?
Can we have multiple classes in single file ?
What is console based application in java?
What is the use of protected in java?
What are the disadvantages of using inner classes?
Tell us something about different types of casting?
How to avoid memory leak in java?
What are class members by default?
Can a constructor have different name than a class name in java?
Explain a situation where finally block will not be executed?
What is unicode used for?