Computer Science, asked by anilamanalil1289, 2 months ago

why main method cannot be overridden

Answers

Answered by bajajridhi62
0

please mark me as brainliest

Answered by sumitrajput8244
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