Created
December 28, 2017 11:03
-
-
Save Velmm/3b2ef40f3df651936ae7f55636f90d08 to your computer and use it in GitHub Desktop.
This file contains 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
public class Movie { | |
private String title; | |
private int image; | |
public Movie(String title, int image) { | |
this.title = title; | |
this.image = image; | |
} | |
public String getTitle() { | |
return title; | |
} | |
public void setTitle(String title) { | |
this.title = title; | |
} | |
public int getImage() { | |
return image; | |
} | |
public void setImage(int image) { | |
this.image = image; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment