Can static methods be overridden?

Answer Posted / durga

We can't override static methods,becoz static methods are loaded at class loading time,so it is class level.but we overload static methods.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where to store local variables?

578


What is the method to declare member of a class static?

532


Explain listiterator and methods in listiterator?

541


What is purpose of applet programming?

632


What is the significance of continue jump statement? Explain with an example.

736






What is the use of System class?

602


What are java packages? What's the significance of packages?

617


What modifiers are allowed for methods in an interface?

633


How to change value in arraylist java?

491


What is the use of isempty in java?

531


How can you read content from file in java?

592


Can abstract class have private constructor?

492


What is final class?

569


How many types of methods are there in java?

520


Is it possible to use string in the switch case?

549