Answer Posted / srinivas
collection of objects is called class
Ex:
1.table
2.vehcile......
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the real time example of encapsulation?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
Can enum be null?
Explain virtual inheritance?
why reinterpret cast is considered dangerous?
What is overriding in oops?
Why do we use class?
What is difference between pop and oop?
what is different between oops and c++
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is abstraction with example?
what type of question are asked in thoughtworks pair programming round ?
Why is abstraction needed?
Which language is pure oop?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?