-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInputMethod.java
More file actions
23 lines (20 loc) · 842 Bytes
/
InputMethod.java
File metadata and controls
23 lines (20 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// import java.io.*;
// import java.util.Scanner;
// import jdk.internal.org.jline.utils.InputStreamReader;
class InputMethod {
public static void main(String args[]) throws Exception {
// BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
// String name = reader.readLine();
// System.out.println(name);
// /******************************************************/
// Scanner in = new Scanner(System.in);
// String s = in.nextLine();
// int a = in.nextInt();
// float f = in.nextFloat();
// System.out.println(s + a + f);
// in.close();
/******************************************************/
String name1 = (System.console().readLine());
System.out.println(name1 + name1.getClass().getName());
}
}