--%>

Basic features of OOPs

Illustrate the basic features of OOPs?

E

Expert

Verified

There are four basic features of OOPs which are as follows:

  • Abstraction – This feature refers to the method of expopsing simply the appropriate and necessary data to the users not including unnecessary information.
  • Polymorphism – This feature allows us to use an entity in numerous forms.
  • Encapsulation - This feature prevents a data from unnecessary access through binding of code and data in a particular unit called object.
  • Inheritance – It encourages the reusability of code and eradicates the use of unnecessary code. It is a property by which a child class gets all the features described in its parent class. When class inherits the general properties of other class, the class which is inheriting the properties is known as a derived class and the class which permits inheritance of its general properties is known as a base class.

   Related Questions in Programming Languages

  • Q : Why is Java pure object oriented

    Explain the reasons that Java is pure object oriented programming language.

  • Q : Describe Unnamed package Unnamed

    Unnamed package: All classes defined in the files without a package declaration are placed in an unnamed package.

  • Q : Differentiate overriding and

    Differentiate overriding and overloading method?

  • Q : Explain Exclusive-or operator

    Exclusive-or operator: An exclusive-or operator (^) is both a Boolean operator and the bit manipulation operator. The Boolean version provides the value true when only one of its operands is true; or else it offers the value false. Likewise, the bit m

  • Q : State the term collection objects in

    State the term collection objects in visual base?

  • Q : Define Software engineering Software

    Software engineering: It is the system of applying of an engineering discipline to the implementation, design and maintenance of the software systems.

  • Q : What is Binary operator Binary operator

    Binary operator: It is an operator taking two operands. Java has numerous binary operators, like the arithmetic operators +, -, *, / and %, and the Boolean operators &&, || and ^, among others.

  • Q : How XML web services integrate two

    How can XML web services integrate two legacy distributed systems, one based on Corba and one based on Java RMI?

  • Q : What are Literals What are Literals and

    What are Literals and also state their respective types?

  • Q : Explain Functional programming

    Functional programming: It is a style of programming related with languages like Haskell. The functional programming languages are more strongly tied to a mathematical concept of `function' than imperative programming languages. This makes it simpler