can we override the main() method in java????
Answer Posted / zameer
Yes we can override the main() method in java but that main() method are not declare static keyword.
If main() method is static then we can not override
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Why are getters and setters used?
define the terminology association.
If a class is declared without any access modifiers, where may the class be accessed in java programming?
What is difference between path and classpath?
Difference between static and dynamic class loading.
Is node a data type in java?
What is the applet security manager, and what does it provide?
What does t in java mean?
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?
What is scope of a variable?
How can constructor chaining be done by using the super keyword?
What is the difference between heap memory and stack memory?
Is singleton thread safe in java?
How does thread synchronization occurs inside a monitor?
What is run time allocation?