create a class
java language
In this Assignment you will create a class that represents a Social Media profile (Like a Facebook profile many of you have). The name of this class will be Social Media rotile There are many things we could represent about a Social Media Profile, we'll pick just a few to refresh our class writing skills. Ab_SecialMediaeretile*. will have a sanane, an age, a **country. *** **unbecofrests. ** and numberekes. Each of these will be private variables (these private variables must have the same exact names as the bolded nanes above) with the types int, double, or String (it's up to you to figure out which type for which private variable, not all types might be used). In addition to private variables you will have the following **public methods * A constructor that will take in parameters to initialize the private variables in the order they were presented above. The constructor should ensure that anything with a number is not set to a value less than e, if it is, then it initializes it to . I Getters and setters for each private variable must follow the naming convention used in the example Student class in Lecture 1 (ie for age we would have **setage and **getanse). The setters should ensure that the private variables are never set to an illogical value (Le if the client passes in a negative age to setor, age remains unchanged). A member function, entitled averageLikes Barroste that returns the average likes per post (divide burbertlikes by number of posts). If there are no posts, simply return the value o fi.e. make a condition to ensure you do not dividel by ). This takes in no parameters but it does have a return value (you must determine the return type). A **toStrings method that overrides Object's testing, and prints out the person in the following format (the only spaces are after connas) **BARO:Ashok. age:37, countrys, numberOfPosts: 42, numberoflikes: 122. averageLikesPerPost:2.904.. An equalse method that overrides Object's equals. It should ensure that the object being passed in is a Sosial Mediabratile before casting it. Two Social Media Profiles are the sane if all the private variables are equal. Remember to use quals when comparing two Strings. You can use *** to compare two L. We won't overload bashcade for bow but it is something to ponder **There are Test Cases To this assignment, passing all the test cases is a good indication you did the assignment correctly but does not mean full credit-- you must hit all the requirements toto