I fixed it so that it was this.password=password; on the Password class. I'm suppose to do all this in the driverclass Driver
Methods
public static void main(
String[] args):
Arguments:
String[] args
Return:
None
Behavior:
Allows the user to input a user name and password
Uses the password to instantiate a new Password reference, which points to a EncryptedPassword object
Calls the getPassword, getEncryptionMethod, and toString methods of the newly instantiated object, and prints the information to the screen
Prompt the user to re-enter the password and tell them whether or not they entered it correctly
Uses the user name and password to instantiate a new Password reference, which points to a UserNamePassword object
Calls the getPassword, getEncryptionMethod, and toString methods of the newly instantiated object, and prints the information to the screen
Prompt the user to re-enter the password and tell them whether or not they entered it correctly
Uses the password to instantiate a new EncryptedPassword reference, which points to an EncryptedPassword object
Calls the getPassword, getEncryptionMethod, and toString methods of the newly instantiated object, and prints the information to the screen
Prompt the user to re-enter the password and tell them whether or not they entered it correctly
Uses the user name and password to instantiate a new UserNamePassword reference, which points to a UserNamePassword object
Calls the getPassword, getEncryptionMethod, and toString methods of the newly instantiated object, and prints the information to the screen
Prompt the user to re-enter the user name and password and tell them whether or not they entered them correctly
top
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
But overall i do not know where to start. I think my code is messed up, but i'm not sure if i made a mistake. Overall I'm so stressed out that its ridiculous. I do not even know where to start and could use some help..