Created
May 18, 2017 07:04
-
-
Save goindwalia/d0fbff6bfdf4f7201848e50877cbfb94 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Java Code */ | |
class Book { | |
private String title; | |
private Author author; | |
public String getTitle() { | |
return title; | |
} | |
public void setTitle(String title) { | |
this.title = title; | |
} | |
public Author getAuthor() { | |
return author; | |
} | |
public void setAuthor(Author author) { | |
this.author = author; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment