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 |
what are the disadvantages of C++?
25 Answers ATS, Infosys, UNI, Wipro,
what is multithreading in c++ , what is difference between multithreading and singlethreading.
what is a virtual class?
5 Answers Cap Gemini, IBM, Infosys, Trinity Technologies,
Why is object oriented programming so hard?
There are 2 classes defined as below public class A { class B b; } public class B { class A a; } compiler gives error. How to fix it?
What is a class oop?
Input: enter the value:1234 output: 1 2 3 4 write a program to get above output.....
4 Answers Bally Technologies, IBM, SoftSol,
What is a macro? And how is a macro same as a template?
What is virtual constructors/destructors?
What are the different forms of polymorphism??
should we use linear search or binary search if elements are placed in random order or mixed?in both cases? i need a little bit detail ans?thnks
What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?