Skip to content

Instantly share code, notes, and snippets.

@Alkimisti
Created March 1, 2021 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Alkimisti/719818fc66bb280dbac7caeae8bbacbe to your computer and use it in GitHub Desktop.
Save Alkimisti/719818fc66bb280dbac7caeae8bbacbe to your computer and use it in GitHub Desktop.
import java.util.Scanner;
public class ScannerExample {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("Shëno emrin:");
String emri = scanner.nextLine();
System.out.println("Ti quhesh " + emri);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment