subject

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


You will be given the main program class (RoobikRunner). You will not need to change RoobikRunner.
You will be given the main program class (RoobikRunner). You will not need to change RoobikRunner.
You will be given the main program class (RoobikRunner). You will not need to change RoobikRunner.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:40
Pthreads programming: create and terminate a thread write a c++ program that creates a thread. the main will display a message “hello world from the main”. the main will create a thread that will display a message “hello world from the thread” and then terminates with a call to pthread_exit()
Answers: 3
question
Computers and Technology, 23.06.2019 16:00
An english teacher would like to divide 8 boys and 10 girls into groups, each with the same combination of boys and girls and nobody left out. what is the greatest number of groups that can be formed?
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
You have read about the beginnings of the internet and how it was created. what was the internet originally created to do? (select all that apply) share research. play games. communicate. share documents. sell toys
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Jamie has to enter the names, employee id’s, and income of a group of employees into a worksheet. which option will jamie use to describe the data
Answers: 3
You know the right answer?
You will be given the main program class (RoobikRunner). You will not need to change RoobikRunner....
Questions
question
Mathematics, 17.12.2019 23:31
question
Mathematics, 17.12.2019 23:31
question
Mathematics, 17.12.2019 23:31
Questions on the website: 13722363