Jahid769 / DIU-BUS-TICKET-RESERVATION

0 stars 0 forks source link

Login #1

Open Jahid769 opened 1 year ago

Jahid769 commented 1 year ago

Scanner input=new Scanner(System.in);

    Security obj=new Security();
    System.out.println("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLOG IN TO CONTINUE");
    System.out.print("\n\t\t\t\t\t\t\t\t\t\t\t\tNAME : ");
    String name=input.nextLine();
    obj.setName(name);
    System.out.print("\t\t\t\t\t\t\t\t\t\t\t\tID   : ");
    String d=input.nextLine();
    obj.setId(d);
Jahid769 commented 1 year ago

Image