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
Why is there no multiple inheritance?
how to get the oracle certification? send me the answer
What is destructor give example?
What is destructor oops?
What is the real time example of encapsulation?
Why do we need polymorphism in c#?
What is encapsulation in oops?
Why do we use polymorphism in oops?
What is polymorphism explain its types?
What is abstract class in oops?
Can we have inheritance without polymorphism?
Which language is pure oop?
This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.
What is multilevel inheritance in oop?
What is basic concept of oop?