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 association, composition and aggregation?
What is the java virtual machine?
What is arrays fill in java?
Is there any difference between nested classes and inner classes?
What is parsing a string?
Why string is not thread safe?
What are the different ways to handle exceptions?
What is immutable in java?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?
What is static and final keyword in java?
What is difference between iterator access and index access?
we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.
How does java pattern compile work?
Explain differences between checked and unchecked exceptions in java?
What are static methods?