--%>

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 : Environment Modeling in Java Pathfinder

    Environment Modeling: In JPF, Java class files can be processed in two different ways: A) As ordinary Java classes managed and executed by the host JVM (e.g., standard Java library classes, JPF implementation class

  • Q : C programming assignment help S trings,

    Strings, Pointers, Arrays, Structures, and File I/O in C In this lab you will develop a few programs that will give you some practice with pointers, arrays, str

  • Q : Explain win 3.1 supports which form of

    Explain win 3.1 supports which form of multi tasking?

  • Q : Explain Base type Base type : The kind

    Base type: The kind of items that might be stored in an array - the arrays defined type. For example, in     int[] numbers; the base type

  • Q : Level-triggering interrupt Normal 0

    Normal 0 false false

  • Q : Define Finite State Machines Finite

    Finite State Machines : A Finite State Machine (FSM) is one of the most suitable models for formal checks, especially for concurrent systems. However, FSMs can have problems with inheritance (the state model can change in derived classes) if state asp

  • Q : Explain Look-and-feel Look-and-feel :

    Look-and-feel: The visual impression and interaction style given by a user interface. This is mainly the responsibility of the window manager (that is, in collaboration with the fundamental operating system) running on a specific computer. This refers

  • Q : How you explain binding in WSDL How you

    How you explain binding in WSDL?

  • Q : Explain Swing Swing : The Swing classes

    Swing: The Swing classes are portion of a wider collection termed as the Java Foundation Classes (abbreviated as JFC). The swing classes are stated in the javax.swing packages. They give a further set of components which extend the capabilities of Abs

  • Q : "This" Pointer "this" pointer: In C++

    "this" pointer: In C++ uses a unique keyword called "this" to represent a object that