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
write knight tour problem which is present in datastructure
What is difference between inheritance and polymorphism?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What does <> mean pseudocode?
What is a class oop?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
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
How do you explain polymorphism?
Give two or more real cenario of virtual function and vertual object
How to hide the base class functionality in Inheritance?
Get me a number puzzle game-program
Can we define a class within the interface?
What is the real time example of encapsulation?
What exactly is polymorphism?
What is encapsulation in simple terms?