What is OOPS and How it is different from Procedural
Programming ?
Answer Posted / janet
In procedural program ,programming logic follows
certain procedures and the instructions are executed one
after another. In OOPs program,unit of program is
object,which is nothing but combination of data and code.
In procedural program,data is exposed to the whole
program where as in OOP's program ,it is accesible within
the object and which in turn assures the security of the
code.
Is This Answer Correct ? | 111 Yes | 38 No |
Post New Answer View All Answers
What does oop mean in snapchat?
What do you mean by overloading?
#include
What is the difference between inheritance and polymorphism?
What is encapsulation in oop?
Which method cannot be overridden?
How is class defined?
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.
What is the use of oops?
When not to use object oriented programming?
What are oops functions?
What is the main purpose of inheritance law?
How to use CMutex, CSemaphore in VC++ MFC
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 are functions in oop?