Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class entries {
- private String time;
- private String content;
- // Entity Class Constructor by using this.name means use THIS object that we are now using.
- public entries(String entryTime,String entryContents ) {
- this.time=entryTime;
- this.content=entryContents;
- }
- // Accessory Methods
- public String getTime(){return this.time;}
- public String getContents(int index){return this.content;}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement