-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathUserInput.java
More file actions
29 lines (25 loc) Β· 769 Bytes
/
Copy pathUserInput.java
File metadata and controls
29 lines (25 loc) Β· 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package day1;
import java.util.Scanner;
public class UserInput {
/*
Time Complexity: O(1)
*/
public static void main(String[] args) {
// ADT non-primitive
Scanner scanner = new Scanner(System.in);
// String firstName = scanner.nextLine();
// String lastName = scanner.nextLine();
//
// // string concatenation
// System.out.println(firstName + "---" + lastName);
//
// int number = scanner.nextInt();
// System.out.println(number + 10);
// character value input
// char character = scanner.next().charAt(0);
// System.out.println(character);
String message = "+-_)([]}{&^^%$#@!/*";
String emoji = "π";
System.out.println(emoji);
}
}