Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public abstract class Item {
- private String title;
- private double playTime;
- private boolean ownIt;
- private String comment;
- public Item(String title, double playTime,
- boolean ownIt, String comment) {
- //...
- }
- public String getTitle() {
- return title;
- }
- //... other accessors
- public abstract String getDescription();
- }
Add Comment
Please, Sign In to add comment