Click here to watch in Youtube :
https://www.youtube.com/watch?v=IfCOdtzkktE&list=UUhwKlOVR041tngjerWxVccw
Click the below Image to Enlarge
Java Tutorial : Java abstract class(normal method) |
abstract class A { abstract void hi(); void bye() { System.out.println("Bye..."); } } class B extends A { void hi() { System.out.println("hi..."); } }
public class AbstractClassTest { public static void main(String[] args) { B b = new B(); b.hi(); b.bye(); } }
hi... Bye...
https://sites.google.com/site/javaee4321/java/AbstractClassDemo_normal_method_App.zip?attredirects=0&d=1
Github Link:
https://github.com/ramram43210/Java/tree/master/BasicJava/AbstractClassDemo_normal_method_App
Bitbucket Link:
https://bitbucket.org/ramram43210/java/src/616eaf1c2bb4551c34e3415baa3ee3135766bffc/BasicJava/AbstractClassDemo_normal_method_App/?at=master
See also:
No comments:
Post a Comment