What is multiple inheritance ?
Answer Posted / sri
Multiple Inheritance is that one derived class having more
than one base class.
C/C++ will support multiple inheritance.
Java does not support multiple inheritance.
| Is This Answer Correct ? | 23 Yes | 3 No |
Post New Answer View All Answers
What is abstraction and encapsulation?
What is the main purpose of inheritance law?
is there any choice in opting subjects like 4 out of 7
What is methods in oop?
c++ program to swap the objects of two different classes
What is interface? When and where is it used?
What is abstraction in oops with example?
What is object and class in oops?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
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.
What are the important components of cohesion?
Write a program to reverse a string using recursive function?
What are the types of abstraction?
How can you overcome the diamond problem in inheritance?
Explain virtual inheritance?