+ 1

can i override the main method in java? if yes..why..

method overriding is a process that we use to increase our code reusability..can I override the main method??

28th Apr 2017, 1:36 AM
Alif
Alif - avatar
2 Réponses
+ 10
short answer: no, you cannot override static methods.
28th Apr 2017, 1:41 AM
Rrestoring faith
Rrestoring faith - avatar