[问答题] System.out.println(__________________________);
正确答案:[ ] char1 str1.equals(str2)
参考解析:本题主要考查main()主方法的使用、String类的使用。解答本题的关键是熟练掌握main()主方法的使用、String类的使用。在本题中,public static void main(String[]args)中的[]是定义数组的标志,str1.equals(str2)语句的功能是判断字符串str1和字符串str2的内容是否相等。


![[问答题] System.out.println(__________________________); [问答题] System.out.println(__________________________);](http://www.mshxw.com/aiimages/31/608320.png)
