Can we override static methods?

Answer Posted / p.sreekiran

no we cannot overriding the static methods .
if we override the static method it will gives error

Is This Answer Correct ?    25 Yes 54 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is prefix of a string?

559


What is the difference between the file and randomaccessfile classes?

520


What is thread count in java?

536


What is unmodifiable list in java?

523


why are there separate wait and sleep methods? : Java thread

565






What is stringjoiner ?

568


Describe the Big-O Notation.

607


What are loops in java?

539


Can a private method of a superclass be declared within a subclass?

523


How do you identify if jvm is 32-bit or 64-bit from java program?

527


How is hashcode calculated in java?

490


What are the types of sockets in java?

532


Why string is a class?

536


which class is the wait() method defined in? : Java thread

513


Why parsing is done?

492