I have a problem, I want to make a user login program with the Map interfaces, but in my class "password" does not let me use the put method to start the programimport java.util. *;
public class Main{
public static void main(String[] args)
{
System.out.println(" COMISION LALO S.A DE C.V");
System.out.println("opcion 1: crear usuario. \nopcion 2: cargar usuario");
}}
class Contraseña {
Map <String,String>a=new HashMap <String,String>();
private void estableceUsuarioContraseña( String usuario,String contraseña){
}
}'