What is a class?
Answers were Sorted based on User's Feedback
Answer / pawan
class is describe all the attributes and behavior of
object.it is a blueprint of object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / lilly
A class is a logical abstraction, but an object has
physical existence. It is used to define the nature of an
object, and it is a basic unit of encapsulation which links
code and data together.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / anjana priyadharshini
Class:
Class is a instance of object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / teja
class is nothing but a collection of variables n member
functions.
Syntax :
class class name
{
------------
-----------
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ashish
Class is a blue print for the objects,suppose take ana
example of bicycle there r 100's of bicycles of same type
having all the characterstic same but still v have
catagorised them in a single catagory bicycle......
so it may aslo be defined as collection of several objects
having same functionality is called class
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / satish varma
"The process of binding data members an associated methods
in a single unit.This single unit is called class"
The concept of class is always used for developing
user/programmer defined data types
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prakash
A Class is a blue print from which individual objects are
created.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / srinivas
collection of objects is called class
Ex:
1.table
2.vehcile......
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ramu.m
In OOPS, a class is the defination of an object.The class
can contain both the charactertics and function of the
object.Simply we say it contains member variables and
member function.It is a well defined object
| Is This Answer Correct ? | 0 Yes | 1 No |
Conversion from a basic type to a class type may be achieved using______________
Hi All, I am new to programming and want to know how can i write a code to take input of 2 numbers from user and swap it without using a temp variable?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is debug class?what is trace class? What differences are between them? With examples.
different types of castings
What is a class in oop?
if u write a class do u write Assignment operator and copy constructor
What is data binding?
IN PROGRAMING LANGAUGE A C++ IS PURELY OBJECT ORIENTED OR NOT?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
how to find the largest of given numbers in an array
What is meant by oops concept?