Horje
simple login password and username java Code Example
simple login password and username java
import java.util.Scanner;

public class Sample {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("Enter Username: ");
        String user = input.nextLine();
        System.out.print("Enter Password: ");
        String pass = input.nextLine();
        if (user.equalsIgnoreCase("jas") && pass.equals("1224")) {
            System.out.print("\nWelcome! " + user);
        } else {
            System.out.print("You don't have access!");
        }
        input.close();
    }
}




Java

Related
Note: C:\flutter..\path_provider_android-2.0.11\android\src\main\java\io\flutter\plugins\pathprovider\PathProviderPlugin.java uses unchecked or unsafe operations Code Example Note: C:\flutter..\path_provider_android-2.0.11\android\src\main\java\io\flutter\plugins\pathprovider\PathProviderPlugin.java uses unchecked or unsafe operations Code Example
javafx list view does not update Code Example javafx list view does not update Code Example
java declare and populate array Code Example java declare and populate array Code Example
Develop the Java application called Shapes. For this program, use only for loops and the following print statements below to generate the shapes below: Code Example Develop the Java application called Shapes. For this program, use only for loops and the following print statements below to generate the shapes below: Code Example
java timeout exception Code Example java timeout exception Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8