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 this interview room ? Is it a class or an object.
What is the problem with multiple inheritance?
What is class encapsulation?
Why polymorphism is used in oops?
What are the 5 oop principles?
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?
What is an orthogonal base class?
What are constructors in oop?
difference between static and non-static variables?
WHAT'S THE OOPS BASIC OOPS CONCEPTS IN DOTNET
i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<<k; } //please comment on the output
What is abstraction with example?