Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please help me do this assignment! Thank you! Part 2 The questions in this part of the assignment will be graded. Question 1: Twitter (100
Please help me do this assignment! Thank you!
Part 2 The questions in this part of the assignment will be graded. Question 1: Twitter (100 points) For this question, you will write two classes to create a new data type that will model information extracted from twitter. Your code for this question will go in two .java files We strongly recommend that you complete all the warm-up questions before starting this problem. Note that in addition to the required methods below, you are free to add as many other private methods as you want (a) Tweet Class Tweet.java stores information and behaviours about a tweet. A tweet is a message sent using the social network Twitter. For this assignment, the tweets are defined as messages from 1 to 15 words (after ommiting stop words). The Tweet class stores information about a tweet: the user who tweeted it, the date of the tweet, the time of the tweet, and the actual tweet message The Tweet class should contain the following private attributes A String userAccount; This attribute stores the user id A String date; A String time; A String message; This attribute stores the date on which the tweet was tweeted This attribute stores the time on which the tweet was tweeted This attribute stores the tweeted message The Tweet class should also contain a private static attribute An HashSetStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started