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
What is the purpose of using break in each case of switch statement?
What are bind parameters?
What is the difference between static class and normal class?
List down the methods and interfaces of collection class in java.
What are the various access specifiers in java?
What’s a deadlock?
How do you use compareto in java?
What do you mean by of string::valueof expression in java 8?
Can we split string with in java?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
What is variable and rules of variable?
What is field name?
What is the purpose of stub and skeleton?
Define how can we find the actual size of an object on the heap?
What happens when main () method is declared as private?