What is Inheritance, Multiple Inheritance, Shared and
Repeatable Inheritance?

Answer Posted / himanshu

Inheritance in java is actually using existing classes or interfaces to make our one useful class or interface..it's main purpose is code reuse..a major concept in Object oriented programming!!

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is property in oops?

561


What is the use of oops?

614


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1573


What is static modifier?

627


What is ambiguity in inheritance?

619






If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

936


What is interface in oop?

656


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

1620


What is coupling in oops?

589


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

689


What is byval and byref? What are differences between them?

1682


Why is polymorphism needed?

587


What is the point of polymorphism?

578


What is the main purpose of inheritance law?

665


What does <> mean pseudocode?

618