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
What is polymorphism what is it for and how is it used?
What is a class and object?
what is different between oops and c++
Is this job good for future? can do this job post grduate student?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
Templates mean
#include
What is methods in oop?
What is the main purpose of inheritance law?
What is object and example?
Why is object oriented programming so hard?
what type of question are asked in thoughtworks pair programming round ?
What is the difference between abstraction and polymorphism?
Are polymorphisms mutations?
Can a varargs method be overloaded?