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
Why do we use polymorphism in oops?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
what's the basic's in dot net
What is a null tree?
What is an example of genetic polymorphism?
What is class encapsulation?
How to use CMutex, CSemaphore in VC++ MFC
Why do we use class?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
What is object-oriented programming? Webopedia definition
what is different between oops and c++
what are the ways in which a constructors can be called?
What is destructor oops?
What is cohesion in oop?
What is destructor give example?