Need help...I've done all this, and now i'm stuck with the question of how to instantiate something. I've done all this and now i'm just completely stuck and have been trying to get this done, but overall this has kept me stuck. The next steps are 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..... Those 3 steps have gotten me stuck. The code might not be exactly right, but i think its good all the way through. I was hoping i could get some help, or maybe some tips to even get passed the first step on my driver program. If anyone could help it would mean alot. Thank you..
You can't instantiate an object from an abstract class, and all you've show us here are abstract classes. You're going to have to make a concrete (i.e., non-abstract) class extending one of these and implement that decrypt() method before you can instantiate anything.
Then you need to figure out if the username and password is correct or not. For this you will need to access your Database, and query for the user entered username and password. I cannot give you any more detail here before you mention what technology you will be using for DB access.
Another thing is you mention calling getPassword and printing on the screen. This is not a done thing in any app - ever!
for the final step you have mentioned you just need a loop that would return when login is successful. Something like this (note I have not used your KeyboardReader class as that must be a proprietary thing you are using)