Home>Computer Science homework help You will be given the main program class (RoobikRunner). You will not nee
Need help with this assignment?Get an original answer from a qualified tutor — from $10/page.
Get it written →
You will be given the main program class (RoobikRunner). You will not need to change RoobikRunner.
You will also be given the skeleton to the Rubik's Cube class (RoobikCube) and a placeholder class describing the face of a Rubik's Cube (RoobikFace). You will not have to change RoobikFace.
Your assignment is to:
1) Implement the RoobikCube constructor. The constructor takes no arguments and creates and populates an array of RoobikFace objects. Each RoobikFace should have its own color.
2) Implement the toString() method of RoobikCube. The output of the method should be the net of the cube, with the front face in the center, as shown below.
You must use the array in your toString method to receive full credit.
W
.B O G
. Y
. R
Get a plagiarism-free answer to this question
Send us your instructions and we’ll match you with the best writer in your subject.
- 100% human-written, zero AI
- Turnitin report included
- Confidential — we never share your data
- Free revisions & refunds