Can static methods be overridden?

Answer Posted / sonu

No never we cannot override the static methods becouse overriding is done only run time and static methods get memory at compile time and static things not the part of object. 

Is This Answer Correct ?    19 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does flagged out mean?

576


What are the different ways of creating thread?

573


What is arguments in java?

524


describe method overloading

539


Why are parameters used in functions?

534






Similarity and difference between static block and static method ?

537


How does java enable high performance?

694


What is nextint java?

549


What is predicate in java?

560


What is the difference between super class & sub class?

567


How to create a fecelet view?

561


What is the difference between serial and throughput garbage collector?

587


What does singleton class mean?

538


How will you reverse a link list without using recursion?

599


What is default constructors?

543