what is a class
Answers were Sorted based on User's Feedback
Answer / ranjith jayan
a class is a collection of similar objects. ex: orange is
an object for the class fruits
| Is This Answer Correct ? | 16 Yes | 0 No |
Answer / sharad
a class is belong to the any object while an object is
belongs to the single class.a class is stateless but the
object is statefull.a class describe the logically meaning
of the object.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / rajwinder cheema
a class is a user defined data type combines both data and
function.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sai
class is a collection of members and member functions.The
members or member functions can be called by the object of
the class.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / surabhi
a class is a way to bind data describing an entity(object) and
its associated function together...
| Is This Answer Correct ? | 1 Yes | 0 No |
Can we call a base class method without creating instance?
can you give the dynamic polymorphism types?
What is multiple inheritance?
Why is abstraction needed?
why to use template classes in c++?
//what is wrong with the programme?? #include<iostream.h> template <class first> class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<<i; } void main() { dd <char>g; g.set(); g.print(); }
What is encapsulation process?
difference between overloading and overridding
What does and I oop mean in text?
What are the advantages of inheritance?
26 Answers IBS, TCS,
What are the features of oop?
what i oops concept, how many languages supports oops concept?