• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/11

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

11 Cards in this Set

  • Front
  • Back

Polymorphism

Is a concept by which we can perform a single action by different ways

2 types of polymorphism

1.runtime polymorphism


2.upcasting

Runtime polymorphism or dynamic method dispatch

Is a process in which a call to an overidden method is resolve at runtime rather that compile time.

Upcasting

When reference variable of parent class refers to the object of child class it is know as upcasting

Encapsulation

Process of wrapping code and data togerther into a single unit.

Advantage of encapsulation in java

Providing only setter or getter method you can make the class read oly or write only

Access modifier

Specifies accessibility of a data member, method, constructor or class

4types of access modifier

-private


-default


-protected


-public

Private acces modifier

Accessible only within class

Default access modifier

Accessible only within package

Protected access modifier

Accessible within package and outside the package but through inheritance only