can we override the main() method in java????
Answer Posted / kapil
yes we can override the main method but different argument
bcz jvm always look for String[] args argument
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is an abstract class and what is it’s purpose?
How do you ensure that n threads can access n resources without deadlock?
Explain the scope of a variable.
What is implicit object in java?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
If a variable is declared as private, where may the variable be accessed?
What is super in java?
How can we run a java program without making any object?
Can a class be final?
Why we do exception handling in java and how many types of exceptions are there?
How do you override a variable in java?
What is double parsedouble in java?
Write java program to reverse string without using api?
when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???
Explain the selection sort algorithm and state its time complexity?