What is method Overriding in the perspective of OOPS?

Answer Posted / ramakrishna yechuri

Itis the process of defining the member function in sub
class with same prototype as in base class.
super key word is used to invoke the base class members.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we sort set in java?

523


What is static method with example?

601


Write a function to find out longest palindrome in a given string?

582


Can set contain duplicates?

530


What is a war file?

529






What is difference between final and finally in java?

570


What is variable declaration and definition?

529


How to declare an arraylist in java?

473


What is defined as false sharing in the context of multithreading?

494


How can we create objects if we make the constructor private ?

527


Why is it important to initialize a variable?

480


What happens if constructor is private?

545


What are the two categories of data types in the java programming language?

494


What is the final class modifier?

547


What is a top level class in java?

515