what is Class in oops with example?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
write a C++ program for booking using constructor and destructor.
What is the point of oop?
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....
how can we design a magic square in c++?or suggest me the basic idea of it.
How is exception handling carried out in c++?
What is Agile methodology?
20 Answers ABC, Accenture, College School Exams Tests, Inmar, Microsoft, Sapient,
Can java compiler skips any statement during compilation time?
what is polymorphism?
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 ?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is property in oops?