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
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
Is react oop?
What is the difference between inheritance and polymorphism?
How Do you Code Composition and Aggregation in C++ ?
What is abstraction oop?
How do you achieve runtime polymorphism?
Why it is called runtime polymorphism?
What are the 4 main oop principles?
What is polymorphism and its types?
What is the point of polymorphism?
Which type does string inherit from?
Can an interface inherit a class?
Why do we use inheritance?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is encapsulation selenium?