bismiALLAH
This commit is contained in:
parent
7ab4c66ae6
commit
acf692d5b9
14
Stdinout.java
Normal file
14
Stdinout.java
Normal file
@ -0,0 +1,14 @@
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Stdinout {
|
||||
public static void main(String[] args) {
|
||||
Scanner sc = new Scanner(System.in);
|
||||
int x = sc.nextInt();
|
||||
sc.nextLine();
|
||||
String y = sc.nextLine();
|
||||
sc.close();
|
||||
|
||||
System.out.println("Int: " + x);
|
||||
System.out.println("String " + y);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user