What is a class?

Answers were Sorted based on User's Feedback



What is a class?..

Answer / kumar vishal

In general a class is a group of objects. for example
mango,apple, banana, grapes etc. is a group of fruits.

But in oops concept, a class is a collection of member data
and member function.

Is This Answer Correct ?    22 Yes 1 No

What is a class?..

Answer / madasamy.k

Collection of data members(Varibles) and methods(functions)
is called class

Is This Answer Correct ?    10 Yes 1 No

What is a class?..

Answer / khadeer.k

a class is a collection of objects which contains variables
and functions...

Is This Answer Correct ?    9 Yes 1 No

What is a class?..

Answer / nayan patel

A class is USER DEFINE DATA TYPE.

Is This Answer Correct ?    7 Yes 0 No

What is a class?..

Answer / anandan

the wrapping up of data and functions into a single unit is
defined as the class

Is This Answer Correct ?    9 Yes 5 No

What is a class?..

Answer / ganesh

Class is an user defined datatype where variable and
related code where incorporated

Is This Answer Correct ?    3 Yes 1 No

What is a class?..

Answer / preethi

In object-oriented programming , a class is a template
definition of the method s and variable s in a particular
kind of object . Thus, an object is a specific instance of
a classClass is the Collection of Methods and Datafield, in
other
word we can say class is user defined Data Types
; it contains real values instead of variables

Is This Answer Correct ?    3 Yes 1 No

What is a class?..

Answer / kiran kumar.b

a class is a logical existence of a data containing data
variables and member functions having relations between
them.

Is This Answer Correct ?    3 Yes 2 No

What is a class?..

Answer / k.premalatha

class is a generalisation or mould or template of an object.

Is This Answer Correct ?    2 Yes 1 No

What is a class?..

Answer / laxman

class is a collection of object.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More OOPS Interview Questions

What is overloading and its types?

0 Answers  


Pls...could any one tell me that whether we can access the public data memeber of a class from another class with in the same program. Awaiting for your response Thanku

4 Answers  


How to reverse a sentence in c program ex: ram is a good boy answer: boy good a is ram

0 Answers   IBM,


what is object oriented programming and procedure oriented programming?

3 Answers  


4. What do you mean by a prototype? Define analysis prototype

1 Answers  






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!!!)

0 Answers   HCL,


what is the virtual function overhead, and what is it used for ? i hope i can get and appropriate answers, thanks a lot....

6 Answers  


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

0 Answers   UBS,


How does polymorphism work?

0 Answers  


What is use of overloading?

0 Answers  


explain dynamic binding by drowing

2 Answers   Cognizant,


WHAT'S THE OOPS BASIC OOPS CONCEPTS IN DOTNET

1 Answers  


Categories