QuesHub > can > override > method > ASK DETAIL

Can the main method be overridden?

Gabriela Perez | 2023-06-09 06:42:31 | page views:1160
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Emily Adams

Studied at University of California, Los Angeles (UCLA), Lives in Los Angeles, CA
We can not override the static method because static metod is a class method and the scope of this method within the same class itself. ... Hence, it does not makes sense to "override" it (or for that matter any static method). The concept of "overriding" is only for instance methods.
2023-06-18 06:42:31

Harper Phillips

QuesHub.com delivers expert answers and knowledge to you.
We can not override the static method because static metod is a class method and the scope of this method within the same class itself. ... Hence, it does not makes sense to "override" it (or for that matter any static method). The concept of "overriding" is only for instance methods.
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4