what is an instance of a class
Answers were Sorted based on User's Feedback
Answer / kavita
objects are defined as real world entities that are
instances of a class
Is This Answer Correct ? | 2 Yes | 0 No |
me get an assignent n its question is this 1.creat a set as in math i.ea={1,2} 2.insert element in it3. delete element don,t repeat any element 4.union 5. intersection of two sets plz help me i always pray for u n send me at ayeshawzd@hotmail.com f u have c++ how to program 5th addition then it is the 10.9 question in 10th chapter exercise
What is oops in programming?
What is the point of oop?
Please send ford technologies placement paper 2 my mail id
Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.
Can you name some types of inheritance?
write a progra in c++ using class & object to find out wheather a given no. is prim or not.
Why do pointers exist?
What is object and class in oops?
What is advantage of inheritance?
//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 are the three parts of a simple empty class?