can you use the two main method in same class?how?
Answer Posted / 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 |
Post New Answer View All Answers
How is hashcode calculated in java?
What do you mean by global variable?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
What is extension method in java?
What is jvm? How its run?
What is a flag variable?
What are the data types supported by java? What is autoboxing and unboxing?
What is illegal identifier in java?
What is meant by overloading?
What are the types of casting?
Explain a situation where finally block will not be executed?
What are inbuilt functions?
What is size of int in java?
Which sort is best in java?
How does java pattern compile work?