//package com.sudhirtheindian2.java123;
//public class runPoly {
// public static void main(String[] args) {
//
// }
//
//
//
//
//
// // What is method overriding & Runtime polymorphism in java
//
//// method overriding
//
//// whenever we writing method in super and sub class
//// in such a way that method name and parameter must be same
//// called overriding
//
//// syntax
//// class A{
//// void display(){
////
//// }
////}
////
//// class B extends A{
//// void display(){
////
//// }
//// }
//
//
package com.sudhirtheindian2.java123;
public class runPoly {
public static void main(String[] args) {
}
// What is method overriding & Runtime polymorphism in java
// method overriding
// whenever we writing method in super and sub class
// in such a way that method name and parameter must be same
// called overriding
// syntax
// class A{
// void display(){
//
// }
//}
//
// class B extends A{
// void display(){
//
// }
// }
टिप्पणियाँ
एक टिप्पणी भेजें