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 the fundamental idea of oop?
What is balance factor?
write knight tour problem which is present in datastructure
What is the highest level of cohesion?
How to hide the base class functionality in Inheritance?
Why do we need polymorphism in c#?
class type to basic type conversion
Can we create object of abstract class?
What is polymorphism and why is it important?
Can enum be null?
What are constructors in oop?
Why is abstraction needed?
Can we have inheritance without polymorphism?
Can we define a class within the interface?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)