What is the correct syntax for inheritance?
1) class aclass : public superclass
2) class aclass inherit superclass
3) class aclass <-superclass
Answer Posted / pushpa
class aclass : public superclass
Is This Answer Correct ? | 33 Yes | 0 No |
Post New Answer View All Answers
Why is encapsulation used?
What is difference between class and object with example?
What is debug class?what is trace class? What differences are between them? With examples.
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is an advantage of polymorphism?
How long to learn object oriented programming?
what type of question are asked in thoughtworks pair programming round ?
Advantage and disadvantage of routing in telecom sector
What is meant by multiple inheritance?
What are the types of abstraction?
Can main method override?
Is data hiding and abstraction same?
What is multilevel inheritance explain with example?
What are the benefits of polymorphism?
class type to basic type conversion