What is the correct syntax for inheritance?
1) class aclass : public superclass
2) class aclass inherit superclass
3) class aclass <-superclass
Answer Posted / anusha
class aclass <-superclass
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Why is oop better than procedural?
What is the difference between a constructor and a destructor?
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
What is the fundamental idea of oop?
Is data hiding and abstraction same?
What are constructors in oop?
What is the difference between abstraction and polymorphism?
What are the three parts of a simple empty class?
What is object-oriented programming? Webopedia definition
What is variable example?
Explain virtual inheritance?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
Whats is abstraction in oops?
What is the example of polymorphism?