What is multiple inheritance ?

Answer Posted / rohan

[Base Classes]
music name height
\\ || //
\\ || //
\\ || //
\\ || //
Musician
[Example of multiple
inheritance]
Def.: A class derived from 2 or more superclass is called a
class inherited from by multiple inheritance.

Is This Answer Correct ?    21 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a class in oop?

678


Write a program to reverse a string using recursive function?

1879


What is object and example?

702


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

1750


write a program that takes input in digits and display the result in words from 1 to 1000

2085






What is polymorphism programming?

694


What are different oops concepts?

669


What is the difference between encapsulation and polymorphism?

679


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6582


What is inheritance and how many types of inheritance?

707


What is encapsulation oop?

671


write string class as your own class in java without using any built-in function

2062


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

1737


Where You Can Use Interface in your Project

1506


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.

2674