본문 바로가기
Programmers 기초

문자열 붙여서 출력하기

by lleesla 2024. 3. 12.
import java.util.Scanner;

public class Solution {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String a = sc.next();
        String b = sc.next();
        
        System.out.println(a+b);
    }
    
    
}

'Programmers 기초' 카테고리의 다른 글

문자열 겹쳐쓰기  (0) 2024.03.13
홀짝 구분하기  (0) 2024.03.13
덧셈식 출력하기  (0) 2024.03.12
특수문자 출력하기  (0) 2024.03.09
대소문자 바꿔서 출력하기  (0) 2024.03.09