I am new to Java 11. I have a little experience with Java 8, but I am pretty much re-learning everything. I was trying to prompt for a Username and then password if the username was correct but Main won't run anything in the if statement. It asks for the username and then after typing the username whether wrong or right the program just ends. Cant figure this out. I tried changing variables and declaring them differently but I just started making it worse.This picture shows the code for my program
Aucun commentaire:
Enregistrer un commentaire