Ch11_59_PolymorphismInInterfaces
package com.company ; interface MyWifi2 { public String [] networkList (); } interface MyCamera2 { public void takeSnap (); public void recordVideo (); default public void filter () { System . out . println ( "New filters are : Doggy, Sunrise, light Hair" ); } } class MyCellphone2 { public void makeCall ( int phoneNumber1 , int phoneNumber2 ) { System . out . println ( "Calling ..." + phoneNumber1 + "" + phoneNumber2 ); } } class MySmartPhone3 extends MyCellphone2 implements MyWifi2 , MyCamera2 { public String [] networkList () { System . out . println ( "Available networks are ..." ); String [] str = { "Harry" , "Tenda343041" , "Airtel001" }; return str ; } public void takeSnap () { System . out . println ( "Taking snap..." ); } public void recordVideo () { System . out . println ( "Recording vide