Answer Posted / bijaya kumar jena
Class is a user defined data type. It is the collection of
data member and member function.
Ex:-
Class Add
{
private:
int n1,n2; //Data member
public:
res() //Member Function
{
cout<<"Result :";
}
}
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is overloading in oops?
Can we create object of interface?
#include
What are benefits of oop?
What is an example of genetic polymorphism?
what is different between oops and c++
Why multiple inheritance is not allowed?
Which type does string inherit from?
Is html an oop?
What is encapsulation example?
officer say me - i am offered to a smoking , then what can you say
Can enum be null?
How do you answer polymorphism?
What exactly is polymorphism?
What is interface in oop?