摘要:
1. this调用成员变量和成员函数2. this调用构造函数1. Person.java public class Person{ String name ; void talk(){ System.out.println("my name is " + this.... 阅读全文
posted @ 2014-05-17 01:36
Mirrorhanman
阅读(229)
评论(0)
推荐(0)
摘要:
1. 函数的重载2. 构造函数的作用1. 函数的重载 Chongzai.java class Chongzai{ void funA(){ System.out.println("没有参数的funA函数"); } void funA(int i){ System.out.pr... 阅读全文
posted @ 2014-05-17 00:59
Mirrorhanman
阅读(187)
评论(0)
推荐(0)

浙公网安备 33010602011771号