Can we override static methods?

Answer Posted / devender negi

We can't override the static method we can only redefine
them

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of preparedstatement over statement?

572


What is variable and constant explain with example?

534


What happens when heap memory is full?

528


When should you make a function static?

547


Can we override private method?

560






Is it possible to instantiate the abstract class?

542


What are loops in java? What are three types of loops?

554


Is array passed by reference in java?

584


What is the size of boolean variable?

579


Explain the difference between a Thread and a Process.

570


Give an example of use of pointers in java class.

565


What is the functionality of the stub?

575


What are the drawbacks of singleton class?

542


What are exceptions

646


What is regex in java?

531