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
What is the preferred size of a component in java programming?
What are the topics in core java?
Why vector is used in java?
What is the difference between a static and a non-static inner class in java programming?
Why do we need array in java?
Difference between concurrent hashmap and hashtable and collections
What are the advantages of java inner classes?
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.
What is autoboxing and unboxing?
What all methods are used to prevent thread execution ?
What are peerless components?
What is an empirical question?
Why java is call by value?
Which is better list or arraylist in java?
What is difference between local variable and global variable?