1. Define a class.
Answers were Sorted based on User's Feedback
Answer / mayank kumar
class is a user defined data type and it is the collection
of element. it contains two things
data member and member function.
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / nature
class is a user defined data type and it is the collection
of element
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
What is for loop and its syntax?
What are virtual functions?
What is Hashing and how is it done? Pictorial form?
What is oops and its features?
What normal C constructs work differently in C++?
Why is polymorphism needed?
Write an operator overloading program to write S3+=S2.
How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization?
Why multiple inheritance is not allowed?
Why we use classes in oop?
What is the example of polymorphism?
The type of variable a pointer points to must be the part of pointer's definition so that: