第二题只过了80%是不是没希望了,我到现在也不知道问题出在哪?哪位大佬指点指点 public class Main2 { public static void main(String[] args) { Scanner in = new Scanner(System.in); String str = in.next(); if(str == null || str.length() == 1 || str.length() == 0){ System.out.println("null"); return; } }
点赞 10

相关推荐

点赞 评论 收藏
分享
A_SOUL_Off...:疑似加班加出幻觉了
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务