自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (6)
  • 收藏
  • 关注

原创 this VS static

1. this :代表对象,所在函数所属对象的引用   在定义功能时,如果该功能内部使用到了调用该功能的对象,这事就用this来表示这个对象   可以用于构造函数的调用  this (实际参数);   this.成员属性/成员方法:   this ():调用的是本类中对应参数的构造函数,必须定义在构造函数的第一行。2. static:是一个修饰符,用于修饰成员变量和成员函数...

2014-01-06 21:55:24 90

原创 java this的经典使用

class Leaf{ int i ; Leaf increment() { i++; return this; } public void print() { System.out.print("i"+i); } public static void main(String[] args) { Leaf lf = new Leaf(); ...

2014-01-06 21:49:19 53

原创 java,构造函数,重载

class Tree { int height; Tree() { print("Planting a seedling"); height = 0; } Tree(int i) { print("Creating new Tree that is "+ i + " feet tall"); height = i; } public vo...

2014-01-06 21:21:53 94

原创 java基础知识强转

public class CastingNumbers{ public static void main(String[] args) { double above = 0.7; double below= 0.4; System.out.println("above:"+above); System.out.println("below:"+below); ...

2014-01-02 23:26:39 74

原创 java基础知识switch case的使用

 public class VowelsAndConsonants { public static void main(String[] args) { for (int i =0 ; i < 100 ; i++ ) { char c = (char)(Math.random()*26+ 'a'); switch(c) { case 'a': ...

2014-01-02 22:16:26 174

主要测试网盘的速度和性能

测试用

2017-03-30

Java编程思想第四版完整中文高清版.pdf

Java编程思想,一本很好的书,不管高手还是新人们的看都有帮助。

2014-07-30

Android 从入门到精通课后习题

这个是Android 从入门到精通第七章的课后习题答案,有兴趣的可以下载下来看看

2014-07-09

android 计算器源码

这个是从4.4下载的最新计算器的源码,对计算器二次开发很有用。

2014-07-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除