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 are the benefits of oop?
class type to basic type conversion
What makes a language oop?
Difference between new operator and operator new
Write a program to demonstrate the use of 'Composition' in C++
What is a scope operator and tell me its functionality?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Write a program to accept a number and to print numbers in pyramid format? for eg:for a no. 5 1 212 32123 4321234 543212345
What is coupling in oop?
What is inheritance in oop?
Write a program in c++ to read two floating point numbers and find their sum and average.
How to overload new operator in c++