上一页 1 ··· 5 6 7 8 9
摘要: public class Test05 { public static void main(String[] args) { Calendar calendar = Calendar.getInstance(); calendar.set(Calendar.YEAR,1988);//年 calend 阅读全文
posted @ 2022-03-26 14:39 不只是智能hello 阅读(74) 评论(0) 推荐(0)
摘要: public class Test03 { public static void main(String[] args) { /* String s1 = new String("ABC"); String s2 = "ABC"; System.out.println(s1==s2);//false 阅读全文
posted @ 2022-03-26 11:43 不只是智能hello 阅读(28) 评论(0) 推荐(0)
摘要: public class Test01{ static int i = 1; public static void main(String args[]){ System.out.println("love " + new Test01());//love java Test01 a = new T 阅读全文
posted @ 2022-03-26 11:22 不只是智能hello 阅读(280) 评论(0) 推荐(0)
摘要: String类中的equals方法是用来判断两个对象的内容是否相等,String类重新了equals方法,Object类中的equals是用来判断两个对象是否是同一个对象; 阅读全文
posted @ 2022-03-26 11:20 不只是智能hello 阅读(115) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9