Created
March 7, 2018 19:52
-
-
Save nikolajakshic/8bb60b2e691a5e97652a9cfaaf81ae27 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 String genre; | |
private int year; | |
// State of the item | |
private boolean expanded; | |
public Movie(String title, String genre, int year) { | |
this.title = title; | |
this.genre = genre; | |
this.year = year; | |
} | |
// Getters and setters | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment