Blogger

Delete comment from: Java67

Can we override a non-static method as static in Java? (answer)
Yes, you can override the non-static method in Java, no problem on them but it should not be private or final :) (WRONG ANS)


we can not override non static method as static .
it'll give compilation error.

Oct 24, 2019, 4:31:18 AM


Posted to Top 30 OOP (Object Oriented Programming) Interview Questions Answers in Java

Google apps
Main menu