Run this file and you see the result in your console.

package Array;

public class Array {

	void start() {
		Chair blueChair = new Chair("blue");
		Chair redChair = new Chair("red");
		Chair yellowChair = new Chair("yellow");
		
		Table blueTable = new Table("blue");
		Table blackTable = new Table("black");
		
		System.out.println(redChair.color);
	}
	
	public static void main(String[] args) {
		new Array().start();

	}

}