RubikCube.java

    public class RubikCube{ private RubikFace[] faces = new RubikFace[6]; public RubikCube(){ faces[0]=new RubikFace("W"); faces[0]=new RubikFace("B"); faces[0]=new RubikFace("O"); faces[0]=new RubikFace("G"); faces[0]=new RubikFace("Y"); faces[0]=new RubikFace("R"); } /** * @return String */ public String toString() { String result = "" + faces[0] + "n" ; // faces[1] + "" +faces[2] + "" faces[3]+ "n" +faces[4] // +"n" + faces[5]; return result; }}

                                                                                                                                      Order Now