Last active
March 31, 2019 06:03
-
-
Save yp-palF/50b0f0a6db5e8f8ae305b3474134b3e3 to your computer and use it in GitHub Desktop.
Lambda BLOG
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
class Movie { | |
private MovieType genre; | |
private Double price; | |
public MovieType getGenre() { return genre; } | |
public void setGenre(MovieType genre) { this.genre = genre; } | |
public Double getPrice() { return price; } | |
public void setPrice(Double price) { this.price = price; } | |
enum MovieType { | |
HORROR, COMEDY, ACTION | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment