Wednesday, 13 January 2016

Java Tutorial : Implementing an Interface

Click here to watch in Youtube :

Click the below Image to Enlarge
Java Tutorial : Implementing an Interface
public interface Person
    void walk();
public class Student implements Person

    public void walk()
        System.out.println("Student walks slowly");


public class InterfaceTest

    public static void main(String[] args)
        Person personRef = new Student();

Student walks slowly
Click the below link to download the code:

Github Link:

Bitbucket Link:

See also:
  • All JavaEE Viedos Playlist
  • All JavaEE Viedos
  • All JAVA EE Links
  • Servlets Tutorial
  • All Design Patterns Links
  • JDBC Tutorial
  • Java Collection Framework Tutorial
  • JAVA Tutorial
  • No comments:

    Post a Comment

    Google+ Followers

    Google+ Badge