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
What is overloading in oop?
What is class in oop with example?
write string class as your own class in java without using any built-in function
program for insertion ,deletion,sorting in double link list
Where is pseudocode used?
How can you overcome the diamond problem in inheritance?
Why is polymorphism important in oop?
Advantage and disadvantage of routing in telecom sector
what is the drawback of classical methods in oops?
write a program to find 2^n+1 ?
What is inheritance and how many types of inheritance?
What is overloading in oops?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
when to use 'mutable' keyword and when to use 'const cast' in c++
What is difference between oop and pop?