I'm new to java and currently in an undergraduate programming course. I've been given an assignment that requires me to create and encryption class then a tester class. In the tester class I am to create two objects of the encryption class: one with the default constructor, then the other with parameterized constructor using two scanner inputs as arguments(password and key). This is what I am having difficulty with. I don't think I am doing this correctly. Here is the code. The error I am receiving when I compile it says "incompatible types, String cannot be converted to int". I thank anyone who can help me. I'm new to java and currently in an undergradua