Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

1. Define a class.

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


Please Help Members By Posting Answers For Below Questions

Why do we use polymorphism in oops?

1061


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

4162


what's the basic's in dot net

2198


What is a null tree?

1150


What is an example of genetic polymorphism?

1195


What is class encapsulation?

1108


How to use CMutex, CSemaphore in VC++ MFC

4791


Why do we use class?

1101


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.

3095


What is object-oriented programming? Webopedia definition

1277


what is different between oops and c++

2559


what are the ways in which a constructors can be called?

2146


What is destructor oops?

1106


What is cohesion in oop?

1071


What is destructor give example?

1066