define oops with class and object
Answer Posted / rajganesh
oops is new approch to hantel complex program.oops mean's
object oriented programming
| Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
What is abstraction example?
What is polymorphism and its types?
Why is polymorphism used?
What do you mean by abstraction?
How do you use inheritance in unity?
What is object in oops?
What is the fundamental idea of oop?
What is encapsulation oop?
Why do we use encapsulation in oops?
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 type of loop is a for loop?
What are the important components of cohesion?
What is the problem with multiple inheritance?
What is balance factor?
Can we define a class within the interface?