Answer Posted / aayush patwa
A type of programming in which programmers define not only
the data type of a data structure, but also the types of
operations (functions) that can be applied to the data
structure. In this way, the data structure becomes an
object that includes both data and functions. In addition,
programmers can create relationships between one object and
another. For example, objects can inherit characteristics
from other objects.
One of the principal advantages of object-oriented
programming techniques over procedural programming
techniques is that they enable programmers to create
modules that do not need to be changed when a new type of
object is added. A programmer can simply create a new
object that inherits many of its features from existing
objects. This makes object-oriented programs easier to
modify.
To perform object-oriented programming, one needs an object-
oriented programming language (OOPL). Java, C++ and
Smalltalk are three of the more popular languages, and
there are also object-oriented versions of Pascal.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write a program to reverse a string using recursive function?
What are the components of marker interface?
What is polymorphism give a real life example?
write string class as your own class in java without using any built-in function
What is the difference between encapsulation and polymorphism?
What is difference between polymorphism and inheritance?
Why we use classes in oop?
How do you define social class?
What is polymorphism in oop example?
officer say me - i am offered to a smoking , then what can you say
Why interface is used?
What is pure oop?
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
#include
What is the fundamental idea of oop?