What is the correct syntax for inheritance?
1) class aclass : public superclass
2) class aclass inherit superclass
3) class aclass <-superclass
Answer Posted / amit
class aclass:public superclass (in c#,c++)
class aclass inherit superclass(in vb.net)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Write a program to reverse a string using recursive function?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
Can main method override?
What is interface in oop?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
What is super in oop?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Why do we use class in oops?
Is abstract thinking intelligence?
Where You Can Use Interface in your Project
How oops is better than procedural?
What is multilevel inheritance?
Explain the advantages of inheritance.
Why do we use oops?
What is encapsulation with example?