Can we override static methods?

Answer Posted / neha jain

yes we can override static method but can not overload that
is called method hiding nt overloading.

Is This Answer Correct ?    3 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object english?

569


How to restrict a member of a class from inheriting by its sub classes?

789


What is map and hashmap in java?

608


What does %4d mean in java?

830


Describe 2 different ways to concatenate two strings.

670






What is a method declaration?

498


Can we pass a primitive type by reference in java? How

518


What is difference between printf and scanf?

504


Can we restart a dead thread in java?

542


How does varargs work in java?

595


How are multiple inheritances done in Java?

612


What are internal variables?

543


Why there is no call by reference in java?

490


Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?

601


Can a method be static?

517