test2.11
来源:互联网 发布:在线网络课程 编辑:程序博客网 时间:2024/06/05 06:30
/*target:excise the style of class name and identifier name
* methods:use this long rainbow example
*/
public class Test11 {
public static void main(String[] args) {
class AllTheColorsOfTheRainBow{
int anIntegerRepresentingColor=23;
void changeOfHueOfTheColors()
{
anIntegerRepresentingColor++;
}
}
AllTheColorsOfTheRainBow rain=new AllTheColorsOfTheRainBow();
System.out.println(rain.anIntegerRepresentingColor);
rain.changeOfHueOfTheColors();
System.out.println(rain.anIntegerRepresentingColor);
}
}
* methods:use this long rainbow example
*/
public class Test11 {
public static void main(String[] args) {
class AllTheColorsOfTheRainBow{
int anIntegerRepresentingColor=23;
void changeOfHueOfTheColors()
{
anIntegerRepresentingColor++;
}
}
AllTheColorsOfTheRainBow rain=new AllTheColorsOfTheRainBow();
System.out.println(rain.anIntegerRepresentingColor);
rain.changeOfHueOfTheColors();
System.out.println(rain.anIntegerRepresentingColor);
}
}
0 0
- test2.11
- Test2
- test2
- test2
- Test2
- test2
- Test2
- test2
- test2
- test2
- test2
- TEST2
- TEST2
- test2
- test2
- test2
- test2
- test2
- Oracle查询补全
- 《炉石传说》架构设计赏析(2):Scene管理
- POSIX 多线程程序设计
- python torndb模块
- 《程序员面试金典》翻转子串
- test2.11
- Algorithms—87.Scramble String
- 如何在多线程中使用JNI?
- iostat samples
- 一个sql例子,分组,查询,统计等操作,老忘记,记录一下
- ios经典博客地址
- 《炉石传说》架构设计赏析(3):Gameplay初探
- Android4.4沉浸状态栏 键盘挤压布局受影响
- 连接到网络