What is the correct syntax for inheritance?
1) class aclass : public superclass
2) class aclass inherit superclass
3) class aclass <-superclass
Answers were Sorted based on User's Feedback
Answer / uuh
Obviously, it depends on which programming language is
being used.
| Is This Answer Correct ? | 2 Yes | 2 No |
What is abstraction oop?
What is data binding in oops?
create a class complex having real and imaginary part of a complex no. as a data member. overload the binary operators(+,- and *) to perform the operations on complex no. objects. overload binary operator using friend function.
2 Answers CTS, Delhi University,
how much classes are used in c++
What is oops?what is its use in software engineering?
What is the main difference between C++ and Java
What is an example of genetic polymorphism?
what is the new version of oops
wht is major diff b/w c and c++?
What polymorphism means?
Have you ever interfaced with a database?
Why multiple inheritance is not allowed?