Skip to content

Commit

Permalink
Update documentation.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshathRaghav authored May 24, 2021
1 parent 57a9b35 commit fa9cae2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# Table of Contents
* [Cubot](#Cubot)
* [Cube](#Cube)
* [The Difference](#Difference)

<hr>

Expand Down Expand Up @@ -148,3 +149,10 @@ System.out.println(cube1.solved(cube2)) ; --> Returns false
* toString/System.out.println --> Prints out the cube wtih indexes

* getCube() --> Returns String[][][][] object containing the cubearray

<hr>

# Difference Between the two classes
#### The Cubot and Cube classes have a composition relationship - Cubot has-a Cube <br>
#### With an object of Cube class, you can only make, compare with another Cube, and get the cubearray (String[][][][]) <br>
#### With an object of Cubot class, you can do much more + what Cube can do

0 comments on commit fa9cae2

Please sign in to comment.