Java - Programming Language
This course covers the basics of programming in Java. Work your way through the videos/articles and I'll teach you everything you need to know to start your programming journey!

Class Methods

Lesson 30
Author : Mike Dane
Last Updated : October, 2017


Code

Copyclass Book{
     public String title;
     public String author;

     public void readBook(){
          System.out.println("Reading " + this.title + " by " + this.author);
     }
}