why main method cannot be overridden
Answers
Answered by
0
please mark me as brainliest
Answered by
0
Answer:
the answer is No because the main is a static method and the static method cannot be overridden in Java. ... Though main() is a special method because it's the entry point of your Java application, it follows the same rule of method overriding and overloading as any other method.
Similar questions