博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年12月13日

摘要: 1.static 方法中只能引用方法外的static变量和方法2.this是当前类的引用,也就是说必须先有new 才会有this3.static简单理解为内存中仅一份4.final简单理解为这是不变的 常量5.final static详情参考 http://lavasoft.blog.51cto.com/62575/18771/对于Cannot make a static reference to the non-static method quicksort(int[], int, int) from the type QuickSort的理解package com.cc;public cl 阅读全文

posted @ 2011-12-13 11:36 酸梅拯救地球 阅读(294) 评论(0) 推荐(0)