+ 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??
2 odpowiedzi
+ 10
short answer: no, you cannot override static methods.
method overriding is a process that we use to increase our code reusability..can I override the main method??