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
How do you use inheritance in unity?
What is difference between pop and oop?
What is polymorphism in oops with example?
What are the 3 pillars of oop?
What is interface in oop?
What is static modifier?
What is the difference between a constructor and a destructor?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
How do you achieve runtime polymorphism?
Why do we need oop?
What is polymorphism what are the different types of polymorphism?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
Why do we use class?
what is the drawback of classical methods in oops?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.