Question: Second Assignment - The FacebookUser Class We're going to make a small change to the UserAccount class from the last assignment by adding a new
Second Assignment The FacebookUser Class
We're going to make a small change to the UserAccount class from the last assignment by adding a new method:
public abstract void getPasswordHelp;
This method is abstract because different types of user accounts may provide different types of help, such as providing a password hint that was entered by the user when the account was created or initiating a process to reset the password. Next we will create a subclass of UserAccount called FacebookUser. The FacebookUser class needs to have the following fields and methods in addition to what is in UserAccount:
Fields:
String passwordHint
ArrayList
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
