Answered Questions

  • What are the different types of polymorphism?

    ramalakshmi

    • Jun 14th, 2014

    There are two types of polymorphism in c++:

    1.) static polymorphism: operator and function overloading.
    2.) dynamic polymorphism: virtual functions.

    sharad chougale

    • Apr 18th, 2014

    There are two types polymorphism in c++
    1) Function Overloading
    2) Operater Overloading

    Java polymorphism types
    1) Method Overloading
    2) Method Ovrriding

  • What is encapsulation?

    Packaging an object’s variables within its methods is called encapsulation.

    Ramya

    • May 31st, 2013

    OOPs concept that binds the data along with function which manipulates the data.

    sakshi

    • Oct 4th, 2012

    The wrapping up of data and code into a single entity is known as encapsulation.It is a way to implement data abstraction

  • What do you mean by inheritance?

    Inheritance is the process of creating new classes, called derived classes, from existing classes or base classes. The derived class inherits all the capabilities of the base class, but can add embellishments and refinements of its own.  

    anamika

    • Jun 14th, 2016

    Multiple Inheritance is not used in Java

    shylu

    • Jun 22nd, 2012

    It is a process that one class can acquires the properties of another base class