Can we override static methods?

Answer Posted / venkateswara reddy

Yes, V can override static methods
But overridding and overridden methods must static

Is This Answer Correct ?    51 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is age discrete or continuous?

684


What are features of java?

559


Can a class extend more than one class?

609


When the constructor of a class is invoked?

589


What is a byte string?

617






What is the difference between yield() and sleep()?

539


What are recursive functions? Give some examples?

612


What is difference between public static and void?

480


What do you understand by the term string pool?

563


What are the different collection views provided by maps?

563


Is it possible to override private or static method in java?

544


Can a main method be declared final?

583


What is the purpose of garbage collection in java?

653


How can we create a thread in java?

585


How can we use primitive data types as objects?

556