what is method overriding? in oops

      In OOPs  simply means intentionally we  are super seeding method with of a specific signature present in the parent class with same signatures method in the child class .

        Method overriding is nothing but creating same name method in more than one class,

  It is basically we used in Runtime polymorphism

 

Ex: 

   class A{

 public void show();

}

class B implements A{

 public void show(){

 System.out.println("eaglewebworld");

}

}

Comments

Blogs

How To create a digital-clock in HTML CSS JavaScript

LightBox image Galery in html css and javaScript

Creating a clickable popup box with using html css and javascript