What is the correct syntax for inheritance?
1) class aclass : public superclass
2) class aclass inherit superclass
3) class aclass <-superclass
Answer Posted / anusha
class aclass <-superclass
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Can we create object of abstract class?
when to use 'mutable' keyword and when to use 'const cast' in c++
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.
What polymorphism means?
What is the difference between encapsulation and polymorphism?
What are the two different types of polymorphism?
Give two or more real cenario of virtual function and vertual object
What is the main feature of oop?
What is difference between oop and pop?
What is object in oop?
what is graphics
State what is encapsulation and friend function?
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(); }
is there any choice in opting subjects like 4 out of 7
Why do pointers exist?