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

What is a null class?

574


What is included in core java?

584


What is high level language in computer?

541


Why for each loop is used?

508


What does sprintf mean?

537






Why isn’t there operator overloading?

598


What are the properties of thread?

504


Why do we need data structure in java?

575


What is a protected class in java?

542


When does an object becomes eligible for garbage collection in java?

582


What type of value does sizeof return?

543


What is the multi-catch block in java?

537


What is difference between overloading and overriding in java?

530


What is an anonymous class in java?

549


What are keywords in java?

580