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 20:40
Write a program that begins by reading in a series of positive integers on a single line of input and then computes and prints the product of those integers. integers are accepted and multiplied until the user enters an integer less than 1. this final number is not part of the product. then, the program prints the product. if the first entered number is negative or 0, the program must print “bad input.” and terminate immediately. next, the program determines and prints the prime factorization of the product, listing the factors in increasing order. if a prime number is not a factor of the product, then it
Answers: 2
question
Computers and Technology, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Write an essay on online collaboration, how to do it, the challenges, resolving the challenges, and consider whether the risks are greater than rewards. ( need )
Answers: 1
question
Computers and Technology, 24.06.2019 08:30
Why might you choose to create a functional resume
Answers: 1
You know the right answer?
You will be given the main program class (RoobikRunner). You will not need to change RoobikRunner....
Questions
question
Mathematics, 20.09.2019 03:30
question
Mathematics, 20.09.2019 03:30
question
Mathematics, 20.09.2019 03:30