[Training Video - 6] [File Reading] Using log object in the Groovy class
2015-06-17 11:11
786 查看
Car c= new Car(log); c.print() class Car{ def log public Car(log){ this.log=log } public void print(){ log.info "hello world" } }
相关文章推荐
- 使用objection来模块化开发iOS项目
- Objective-C中的内存管理
- 用字节流将一个Object对象持久化
- 黑马程序员_Objective C中的@property 与 @synthesize 快速生成setter getter方法
- 【典型错误】The type java.lang.Object cannot be resolved.
- Objective-C Json 使用
- 2015 Objective-C 三大新特性
- 2015 Objective-C 三大新特性
- Programming with Multiple Paradigms in Lua(Object-Oriented Programming)
- Swift入坑--Any、AnyObject、AnyClass有什么区别
- 学习笔记(objective-c)-扩展(extension)
- Objective-c学习笔记3
- objective-c学习笔记2
- objective-c学习笔记
- swift Any AnyObject
- JSONObject使用方法
- Objective-C语法快速参考
- objective-c数组
- objective-c可变数组
- objective-c可变字典