2015年10月27日

学习笔记之工厂方法模式

摘要: public interface Factory { public abstract Fruits product();}工厂接口public interface Fruits { public abstract void growth();}水果接口public class Apple... 阅读全文

posted @ 2015-10-27 20:36 托马斯不拖马 阅读(143) 评论(0) 推荐(0)

学习笔记之基本数据类型-包装类-String之间的转换

摘要: 基本类型 包装类 String类int->Integer : Integer构造器Integer-> int : Integer.intValue()方法int -> String : Integer.toString方法,String.valueof()方... 阅读全文

posted @ 2015-10-27 17:41 托马斯不拖马 阅读(250) 评论(0) 推荐(0)

导航