What is inheritance?

Answer Posted / janet

Inheritence is the process of inheriting all the features
from a class. The advantages of inheritence are reusability
of code and accessibility of variables and methods of the
super class by subclassses.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain super keyword in java.

585


What is mnemonic code?

542


Define how objects are stored in java?

566


What is reflexive association?

1011


What is flush () in java?

559






What is generic class?

650


Does substring create a new object?

530


What sorting algorithm does javascript use?

530


Can we split string with in java?

534


What is a default constraint?

617


What are the differences between heap and stack memory?

554


What is meant by the value of a variable?

462


What are static blocks in java ?

615


Can you pass by reference in java?

528


Write a program in java to create a doubly linked list containing n nodes.

556