基础编程50题

【习题46】

2017-04-20  本文已影响12人  Xplorist

【程序46】
题目:两个字符串连接程序

package com.brx.eg_41_50;

public class Test46 {
    public static void main(String[] args) {
        test();
    }
    public static void test(){
        String str1="123";
        String str2="987";
        
        System.out.println(str1+str2);
    }
}

上一篇 下一篇

猜你喜欢

热点阅读