what are three tenets of object orinted Systems?Why they
call like that ?
Please answer me.
Advance thanks.
Answer Posted / santosh mundhe
Encapsulation, Polymorphism, and Inheritance these are
three main pillars of oops.
Because by using Encapsulation, Polymorphism, and
Inheritance we can achive data security , code
reuseability......
e.g.
Combining different properties together is known as
encapsulation. Means a class with private and public
properties, by making memberfunction private we can
restrict to access it from out side the class it's nothing
but data security.......
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How does polymorphism work?
to find out the minimum of two integer number of two different classes using friend function
explain sub-type and sub class? atleast u have differ it into 4 points?
What does and I oop and sksksk mean?
What is oops and its features?
Why we use classes in oop?
How to call a non virtual function in the derived class by using base class pointer
What is interface? When and where is it used?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< Following are the class specifications:
class {int a};
class {int b};
Using friend funtion,calculate the max of two objects and
display it.
What are the types of abstraction? 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 2. Give the different notations for the class.\ What is polymorphism explain its types? What is polymorphism in oops with example?