Can you override static method in java?

Answer Posted / sagar kathane

yes we can override static methods in java. and it is called method hiding because it hides parent method and reflex whatever changes have been done in child class.

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 an exception in java?

864


What is anagram in java?

709


Why do I need to declare the type of a variable in java?

768


Define inheritance with reference to java.

784


What is bifunction in java?

873


How will you print number in reverse (descending) order in BST.

761


What does @override mean?

768


Is string thread safe in java?

812


What is function declaration?

712


What is adapter in java?

705


Why stringbuilder is not thread safe?

758


How do I start learning java?

773


How many bytes are there?

739


What do you understand by Header linked List?

808


How to check if a list is sorted in java?

776