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
Difference between final and effectively final ?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
What are the types of casting?
What is the difference between member variables initialization and assignment in a constructor?
How many bits is a string?
What is the name of the java compiler?
Print Vertical traversal of a Binary Tree.
In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?
Can a variable be local and static at the same time?
How do you implement polymorphism in our day to day life?
Is hashset sorted in java?
Explain the difference between hashmap and hashtable in java?
How do you execute a thread in java?
List the interfaces which extends collection interface?
What is the core java?