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
What is a class in oop?
Write a program to reverse a string using recursive function?
What is object and example?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
write a program that takes input in digits and display the result in words from 1 to 1000
What is polymorphism programming?
What are different oops concepts?
What is the difference between encapsulation and polymorphism?
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.
What is inheritance and how many types of inheritance?
What is encapsulation oop?
write string class as your own class in java without using any built-in function
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?
Where You Can Use Interface in your Project
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.