/*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);
}
}