> For the complete documentation index, see [llms.txt](https://heunnajo.gitbook.io/java/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://heunnajo.gitbook.io/java/collection-framework/char.md).

# Char

여러 개의 char 타입의 데이터를 입력 받을 때, Scanner로 바로 입력받을 순 없다.

next()를 적절히 사용하여 String을 char로 변환시켜줘야한다.

next() : 공백문자 단위로 String을 입력받는다.

```java
//Hello World 입력시
String s = sc.next();
//s 출력해보면
s = Hello;
```
