can you use the two main method in same class?how?
Answer Posted / reddy
yes
it is possible in java by passing different parametes to
the main method
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?
what is thread in Java ?
Does java support multiple inheritance or not?
What is the use of default method in interface in java? Explain
Explain the difference between a Thread and a Process.
Can a hashset contain duplicates java?
Is void a wrapper class?
What is the use of generics? When was it added to the Java development Kit?
Can you call one constructor from another if a class has multiple constructors?
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls
How can you read content from file in java?
What is Major and importance difference between for and foreach loop ?
Explain importance of inheritance in java?
How do you include a string in java?
What is the difference between jdk and jre?