摘要: 阅读全文
posted @ 2017-04-21 16:25 BGD160809326 阅读(76) 评论(0) 推荐(0) 编辑
摘要: interface Pet{ public String getName(); public String getColor(); public int getAge(); } class Cat implements Pet{ private String name; private String color; private int age; public Cat(String name,S... 阅读全文
posted @ 2017-04-21 09:17 BGD160809326 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-04-14 16:51 BGD160809326 阅读(80) 评论(0) 推荐(0) 编辑
摘要: class Check { public boolean validate(String name,String password){ if (name.equals("xiongchenghao")&&password.equals("asdf")){ return true; }else{ return ... 阅读全文
posted @ 2017-03-31 15:44 BGD160809326 阅读(97) 评论(0) 推荐(0) 编辑
摘要: public class homework1 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String str1="耿丹计算机Java20170320"; S... 阅读全文
posted @ 2017-03-30 22:49 BGD160809326 阅读(105) 评论(1) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-03-29 11:30 BGD160809326 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-03-24 16:47 BGD160809326 阅读(85) 评论(1) 推荐(0) 编辑
摘要: public class Dog { private String name; private String color; private int age; public Dog(String name, String color, int age) { this.name = name; this.color = color; this.age = age; } public void pri... 阅读全文
posted @ 2017-03-23 19:00 BGD160809326 阅读(114) 评论(1) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-03-21 21:28 BGD160809326 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-03-17 16:49 BGD160809326 阅读(89) 评论(0) 推荐(0) 编辑