`
xiaolv
  • 浏览: 3916 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论
文章列表
1.this是指当前对象自己。   当在一个类中要明确指出使用对象自己的的变量或函数时就应该加上this引用。如下面这个例子中: public class A { String s = "Hello"; public A(String s) { System.out.println("s=" + s); S ...
Global site tag (gtag.js) - Google Analytics