ClassObject Field.java80p10_20
class Clothes{
String color;
char size;
}
public class Field{
publics static void main(String[] args){
Clothes sun = new Clothes();
Clothes spriting = new Clothers();
sun.color = "red";
sun.size = 's';
spring.color = "green";
spring.size = 'M';
System.out.printf("sun ( %s, %c) %n", sun.color, sun.size);
System.out.printf("spring ( %s , %s)%n", spring.color, spring.size);
}
}