标题:为何会输出空白?
取消只看楼主
Onesaber
Rank: 1
等 级:新手上路
帖 子:30
专家分:0
注 册:2013-3-25
结帖率:71.43%
已结贴  问题点数:8 回复次数:0 
为何会输出空白?
程序代码:
    public static void main(String[] args) {
        String s1 = new String("true");
        Boolean b1 = new Boolean(true);
        if (s1.equals(b1))
        {
            System.out.println("true");
        }
    }

2014-05-10 14:05



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-431314-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.139429 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved