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 polymorphism in oops with example?

525


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1636


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

2571


Is this job good for future? can do this job post grduate student?

1689


What is encapsulation example?

545






write knight tour problem which is present in datastructure

2161


What are benefits of oop?

632


Why is polymorphism needed?

591


What is balance factor?

581


what is the drawback of classical methods in oops?

2918


What are the important components of cohesion?

550


What is interface? When and where is it used?

1664


What is this pointer in oop?

552


What is oops and why we use oops?

569


What is object-oriented programming? Webopedia definition

718