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
what is the difference between Object Based Language and Object Oriented Language?
What is string immutability?
What is null in java?
how we can make a write-only class in java?
What is jit compiler ?
Can you extend main method in java?
What is the common usage of serialization? What exceptions occur during serialization?
Can you make a constructor final in Java?
What is append in java?
What is the different between get and post?
What is method overloading in JAVA? Why is it not present in C ?
Is there a jre for java 11?
Can a static class implement an interface?
What are anonymous inner classes?
What is * argv?