IS method overriding is Duplication of Methods?

Answer Posted / sampada

yes and no.yes overiding is duplication of signatue only
but not implentation is duplicated.subclass gives diff
implementation of it.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the java reflection api? Why it’s so important to have?

567


How do you convert string to int in java?

570


what is bmg file and how to create that files?what will it contailn?

1904


Mention some interfaces implemented by linked list in java.

547


Can we have 2 main methods in java class?

545






What is an infinite loop? How infinite loop is declared?

576


Can set contain duplicates?

561


Differences between traditional programming language and object oriented programming language?

576


What is overloading and overriding in java?

671


What is import java util arraylist?

667


Difference between character constant and string constant in java ?

570


What are the types of collections in java?

550


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

548


What is the difference between import java.util.date and java .util?

584


Can a lock be acquired on a class in java programming?

542