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 three main types of variables?
string is a class or data type in java?
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 a virtual class?
5 Answers Cap Gemini, IBM, Infosys, Trinity Technologies,
what is the main difference between sizeof() operator in c and c++
what is overloading
What are benefits of oop?
What are the components of marker interface?
Which language is pure oop?
What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.
Why polymorphism is used in oops?
What is a class?
32 Answers Infosys, TCS, Thylak,