What is the correct syntax for inheritance?
1) class aclass : public superclass
2) class aclass inherit superclass
3) class aclass <-superclass
Answer Posted / uuh
Obviously, it depends on which programming language is
being used.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is destructor example?
What is the full form of oops?
Can you explain polymorphism?
Advantage and disadvantage of routing in telecom sector
Can enum be null?
What is class and example?
Why do while loop is used?
What is encapsulation in simple terms?
What is the fundamental idea of oop?
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?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is abstract class in oop?
2. Give the different notations for the class.\
What is oops and its features?