- 博客(4)
- 资源 (1)
- 收藏
- 关注
转载 Layer API
文章转至http://www.layui.com/doc/modules/layer.html
2017-07-31 16:20:06
1082
转载 抽象类和接口的区别以及使用场景
相同点 两者都是抽象类,都不能实例化。 interface实现类及abstrct class的子类都必须要实现已经声明的抽象方法。 2. 不同点interface需要实现,要用implements,而abstract class需要继承,要用extends。一个类可以实现多个interface,但一个类只能继承一个abstract class。interface强调特定功能的实现,而abstra
2017-07-07 11:19:53
229
原创 JAVA继承关系中父类子类代码执行顺序
public class FatherClass {static { System.out.println("father static code "); }public FatherClass(){ System.out.println("father constractor"); }{ System.out.println("father code"); } }publi
2017-07-05 15:50:11
500
转载 java实现人民币数字转换成中文
public class test { /** * 人民币大写单位制 */ private static HashMap dws; /** * 数字对应的中文 */ private static String[] jes; //
2017-07-05 15:37:30
1173
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人