Skip to content
Snippets Groups Projects
Select Git revision
  • b73ff1a44446e6c17a0c1e95997714997745b84c
  • main default protected
2 results

Book.java

Blame
  • Book.java 279 B
    class Book {
        int year;
        String title;
        String author; 
        
        Book(String a,String b,int c){
            this.author=a;
            this.title=b;
            this.year=c;
        }
        public String toString(){
            return this.author + ":" + this.title + ":" + this.year;
        }
    }