Thursday, 14 January 2016

Java Tutorial : Java Interface(Allowed access modifiers)


Click here to watch in Youtube :
https://www.youtube.com/watch?v=bnQrkn1O5nk&list=UUhwKlOVR041tngjerWxVccw

Click the below Image to Enlarge
Java Tutorial : Java Interface(Allowed access modifiers) 
Java Tutorial : Java Interface(Allowed access modifiers) 
Java Tutorial : Java Interface(Allowed access modifiers) 
Person.java
package mypack1;

public interface Person
{
    void walk();
}
Student.java
package mypack1;

public class Student implements Person
{

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

    }

}
Employee.java
package mypack2;

import mypack1.Person;

public class Employee implements Person
{

    @Override
    public void walk()
    {
        System.out.println("Student walks fast");

    }

}
Click the below link to download the code:
https://sites.google.com/site/javaee4321/java/InterfaceDemo-AccessModifiers-App.zip?attredirects=0&d=1

Github Link:
https://github.com/ramram43210/Java/tree/master/BasicJava/InterfaceDemo-AccessModifiers-App/InterfaceDemo

Bitbucket Link:
https://bitbucket.org/ramram43210/java/src/fa67e02bcd9efeae1c2ea3019677c5252e4db5f7/BasicJava/InterfaceDemo-AccessModifiers-App/InterfaceDemo/?at=master

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
  • 7 comments:

    1. Java classes in pune
      SevenMentor is renowned for its exceptional Java courses in Pune. With a dedicated team of experienced instructors and a comprehensive curriculum, their Java course offers students a deep understanding of programming concepts, hands-on experience, and the skills needed to excel in the software development industry. Whether you're a beginner or an experienced developer looking to upgrade your Java skills, SevenMentor's Pune-based Java course is a top choice for your career advancement.

      ReplyDelete
    2. Your articles always generate interesting database. That means your writing is interesting to people.thanks for sharing .please visit our website you got more information about Autocad Training Institute in ambernath Autocad Training Institute in ambernath

      ReplyDelete
    3. Embark on a transformative educational adventure with our Java full stack institute south DelhiCourse in South Delhi, unlocking a diverse skill set that spans front-end and back-end development. Tackle the intricacies of Java programming, web development, and database management to elevate your expertise.

      ReplyDelete
    4. Embark on a transformative educational adventure with our Java full stack institute south DelhiCourse in South Delhi, unlocking a diverse skill set that spans front-end and back-end development. Tackle the intricacies of Java programming, web development, and database management to elevate your expertise.

      ReplyDelete
    5. Enroll in our Delhi Artificial Intelligence institute in south delhicourse and immerse yourself in in-depth modules guided by industry experts. Develop the essential skills to navigate the dynamic AI landscape and propel your career to new heights.

      ReplyDelete
    6. Enroll in our Delhi Artificial Intelligence institute in south delhicourse and immerse yourself in in-depth modules guided by industry experts. Develop the essential skills to navigate the dynamic AI landscape and propel your career to new heights.

      ReplyDelete
    7. Enroll in our Delhi Artificial Intelligence institute in south delhicourse and immerse yourself in in-depth modules guided by industry experts. Develop the essential skills to navigate the dynamic AI landscape and propel your career to new heights.

      ReplyDelete