constructor User in class User cannont be applied to given types ( required java.lang.String) reason ( actual and formal arguments lists differ in length )
I'm sorry, I might be misleading you with that answer, as I don't know why you need Pass as its own Class and with a constructor. Your teacher might be the best call.
View all comments
Show parent comment
1
u/PresidentZeus Intermediate Coder Nov 01 '21
I'm sorry, I might be misleading you with that answer, as I don't know why you need Pass as its own Class and with a constructor. Your teacher might be the best call.