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 |
Explain the advantages of inheritance.
write a c++ code to overload + and - for a stack class such that + provides push and - provides pop operation
1 Answers College School Exams Tests, HCL, IBM, TCS,
What is the difference between inheritance and polymorphism?
what does exactly the linker do?
What does enum stand for?
What is late bound function call and early bound function call? Differentiate.
What is solid in oops?
Program to check whether a word is in all capital letters
Difference between realloc() and free?
why freind function takes more parameter than normal member function in c++?
What are the benefits of polymorphism?
Write pseudo code for push in a stack?