Does c++ support multilevel and multiple inheritance?
Answer Posted / priya
Yes c++ supports both multilevel and multiple inheritance
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What are oops functions?
Get me an image implementation program.
What is coupling in oops?
What exactly is polymorphism?
Templates mean
What is abstraction in oop with example?
Write a program to reverse a string using recursive function?
What is class and object with example?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< Why do we use encapsulation in oops? Can we create object of abstract class? Why do we use class? class CTest
{
public:
void someMethod()
{
int nCount = 0;
cout << "This is some method --> " << nCount;
}
};
int main()
{
CTest *pctest;
pctest->someMethod();
return 0;
}
It will executes the someMethod() and displays the value
too. how is it possible with our creating memory for the
class . i think iam not creating object for the class.
Thanks in Advance...
Prakash What is the types of inheritance? what are the ways in which a constructors can be called?