Advantages of Object oriented programming language

Q. What are the advantages of Object Oriented Programming languages? Explain them.

Ans. : Object oriented programming language has following advantages-

Code reusability in terms of inheritance. Object oriented system can be simply upgraded from one stage to another. Complex project can be divided into small code function. Rapid development of software can be done in short time. Software complexity reduces. Principle of observation and encapsulation enables a programmer to build secure programmes. Data hiding helps programmer to design and develop safe programme. More than one instance of same class can exist together without may interface.

 

 

   Related Questions in Programming Languages

  • Q : What is an Import statement Import

    Import statement: A statement which makes the names of one or more interfaces or classes accessible in a different package from the one in which they are stated. Import statements pursue any package declaration {package!declaration}, and precede any i

  • Q : What is Search path Search path : It is

    Search path: It is a list of folders (that is, directories) to be searched - for a program or class, for example.

  • Q : Commands used to create the files

    Specify different commands which are used in order to create the files?

  • Q : Define Object serialization Object

    Object serialization: The writing of an object's contents in such a manner that its state can be restored, either at a later time, or in a different procedure. This can be employed to store objects between runs of a program, or to transfer or shifts o

  • Q : Define the term Return value Define the

    Define the term Return value: This is the value of the expression employed in a return statement.

  • Q : What is Class body Class body : It is a

    Class body: It is a body of class definition. The body collects the definitions of a class's members that is, methods, fields and nested classes.

  • Q : Explain Upcast Upcast: It is a cast

    Upcast: It is a cast towards an object's ultimate super type - which is, `up' the inheritance hierarchy towards the Object class, for example:         // Upcast from VariableContr

  • Q : What is High level programming language

    High level programming language: Languages like Ada, Java, C++, and so on which give programmers with features like control structures, classes, methods, packages, and so forth. Such features are mostly independent of any specific instruction set, and

  • Q : Define the term Pixel Define the term

    Define the term Pixel: It is a `picture element' - usually a colored dot on a screen.

  • Q : Explain Redundant value Redundant value

    Redundant value: The value of a data type which has no use or meaning in a particular context. For example, negative values would be redundant a class employing integer attributes to the model assignment marks. In several applications, redundant patte

©TutorsGlobe All rights reserved 2022-2023.