what is Class in oops with example?

Answers were Sorted based on User's Feedback



what is Class in oops with example?..

Answer / sudhavasugj@gmail.com

Object is the variable of class in oops. Class is created
for do some behavior in program. The behavior is accessed by
creating the object for the particular class in main program.

Ex: computer c++;

computer - class

c++ - object

Is This Answer Correct ?    7 Yes 0 No

what is Class in oops with example?..

Answer / guest

class is an template for an object

Is This Answer Correct ?    7 Yes 2 No

what is Class in oops with example?..

Answer / venkatesh

Class is a user defined datatype, and it is a logical representation of data(means which does not occupy any space)

Is This Answer Correct ?    4 Yes 0 No

what is Class in oops with example?..

Answer / elakiya.p

a class is a collection of similar object type.
for eg:
fruit mango;
->fruit is a user defined data type.
->mango is a object.
->fruit is also we called class.
->it behave like built-in types of programming language.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More OOPS Interview Questions

write a C++ program for booking using constructor and destructor.

0 Answers   HAL,


What is the point of oop?

0 Answers  


sir i want to know which posting to apply since i am BE CSE.. also want to know what are the rounds there for my interview...Expecting for ur valuable answer....

2 Answers  


how can we design a magic square in c++?or suggest me the basic idea of it.

3 Answers  


How is exception handling carried out in c++?

3 Answers  






What is Agile methodology?

20 Answers   ABC, Accenture, College School Exams Tests, Inmar, Microsoft, Sapient,


Can java compiler skips any statement during compilation time?

0 Answers  


what is polymorphism?

4 Answers  


what is a virtual class?

5 Answers   Cap Gemini, IBM, Infosys, Trinity Technologies,


The IT giant Tirnop has recently crossed a head count of 150000 and earnings of $7 billion. As one of the forerunners in the technology front, Tirnop continues to lead the way in products and services in India. At Tirnop, all programmers are equal in every respect. They receive identical salaries and also write code at the same rate. Suppose 14 such programmers take 14 minutes to write 14 lines of code in total. How long will in take 5 programmers to write 5 lines of code in total ?

6 Answers   TCS,


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

0 Answers   IBM,


What is property in oops?

0 Answers  


Categories