What is multiple inheritance ?
Answer Posted / funny guy
Multiple Inheritance is a feature of OOPS where the derived
class can extend features from more than one class.
That means if we have class A and class B then class C can
extend class A and class B.
Having said that from Java point of view this feature is not
supported as it may result in Diamond Problem.
C++ does support this features.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
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.
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is oops?what is its use in software engineering?
What are the advantages of polymorphism?
What is for loop and its syntax?
What are the components of marker interface?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
Explain virtual inheritance?
How do you answer polymorphism?
What is the renewal class?
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?
Is react oop?
What are the three main types of variables?
What are the benefits of interface?
Why is polymorphism used?