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 : Ways in which Java program is less

    Give two ways in which a Java program is less likely to be compromised than the same program written in C++.

  • Q : Define Permission Normal 0 false false

    Normal 0 false false

  • Q : Explain the way to create a Mutex

    Explain the way to create a Mutex.

  • Q : Write a recursive function intpower(base

    Write a recursive function intpower(base, exponent) that when invoked returns base^exponent. For example, intpower(3,4) = 3*3*3*3. Assume that the exponent is an integer greater than or equal to 1.

  • Q : Define Iteration Iteration : The

    Iteration: The repetition of a set of statements, generally employing a looping control structure, like a while loop, for loop and do loop.

  • Q : What is Class header Class header : It

    Class header: It is a header of class definition. The header provides a name to the class and states its access. It too explains whether the class expands a super class or implements any interfaces.

  • Q : Explain Default initial value Default

    Default initial value: It is the default value of any variable not explicitly initialized whenever it is declared. The fields of numeric primitive types contain the value zero by default, Boolean variables encompass the value false, char variables enc

  • Q : Explain Twos-complement notation

    Twos-complement notation: In twos-complement notation, the most noteworthy bit in an integer value is employed as the sign bit. A 1 bit points out a negative number, and a 0 bit points out a positive number. The positive number can be transformed to i

  • Q : Define Compilation Compilation : It is

    Compilation: It is a process of translating a programming language. This frequently comprises translating a high level programming language into a low level programming language, and the binary form of a specific instruction set. The translation is ex

©TutorsGlobe All rights reserved 2022-2023.