can you use the two main method in same class?how?
Answers were Sorted based on User's Feedback
Answer / shreedream
yes
in java language support the method Overloading, so we can
use the two main method in same class but it should have
different parameter list?
| Is This Answer Correct ? | 45 Yes | 2 No |
Answer / reddy
yes
it is possible in java by passing different parametes to
the main method
| Is This Answer Correct ? | 9 Yes | 5 No |
Answer / sanjay kalamdhad
yes,we can do it by method overloading concept in .net too but with using different signature.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / rajasekhar
yes
it is possible by using static inner class concept
| Is This Answer Correct ? | 4 Yes | 2 No |
What happens when heap memory is full?
Is void a type?
Explain access modifiers in java.
Can a variable be local and static at the same time?
Is nan false?
What is the use of 'super' keyword inside a constructor?
0 Answers Flextronics, Thomson Reuters, Virtusa,
how can be object class inherited to all class in a program when java does not support multiple inheritance??
What is a map? What are the implementations of map?
can any body tell me? does advance java and j2ee both are same.
explain copyonwritearraylist and when do we use copyonwritearraylist?
What does the exclamation mark mean in java?
What is a values collection view ?