Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 30 | 31 |
Tags
- DATAPATH
- instruction
- system
- function
- Class
- control
- DS
- DB
- DoM
- python
- for
- mysql
- Java
- php
- github
- html
- CSS
- web
- Algorithm
- data structure
- Linux
- while
- javascript
- computer
- MIPS
- architecture
- react
- MacOS
- XML
- Pipelining
Archives
- Today
- Total
목록Scnner (1)
YYYEJI
[JAVA] Scanner 클래스
Scanner class란? User에게 값을 입력받는 클래스입니다. ↓↓↓ Scanner class의 method를 하나씩 살펴보겠습니다 ↓↓↓ 우선 Scanner class를 사용할 때는 아래 패키지를 import 해야 됩니다. import java.util.Scanner; 패키지를 improt해준 이후에는 object를 생성해줍니다. public static void main(String[] args) { Scanner scan = new Scanner(System.in); } ① next() & nextLine() public static void main(String[] args) { Scanner scan = new Scanner(System.in); String s1 = scan.next()..
Java
2022. 12. 24. 00:10