Here is your score for Assignment 9.

Score: TBD

Let me know if you have any questions regarding your score. And let me know if you want a copy of an example implementation for the assignment.

Regards,
Jade

Grading Guidelines


Test Results for Assignment 9

javac -Xlint:all *.java
--> EXIT CODE: 0 <--
java ChengJade9
Printing grandpa's family tree...
grandpa
  +--- aunt
  |      +--- cousin1
  |      |      +--- nephew1
  |      |      +--- niece
  |      |      +--- nephew2
  |      +--- cousin2
  +--- dad
  |      +--- jade
  +--- uncle
         +--- cousin3

Printing grandma's family tree...
grandma
  +--- aunt
  |      +--- cousin1
  +--- mom
  |      +--- jade
  +--- uncle1
  |      +--- cousin2
  |      +--- cousin3
  |      |      +--- second niece
  |      |      |      +--- second niece's son
  |      |      +--- second nephew
  |      +--- cousin4
  +--- uncle2

Adding "orphan1" to "nobogy" in grandpa's family tree...
Error: There is no matching parent 'nobody' to add child 'orphan1'.

Adding "orphan2" to "null" in grandpa's family tree...
Error: Cannot assign 'orphan2' as root because the root has already been assigned.

Printing an empty family tree...
Nobody's in this family tree
--> EXIT CODE: 0 <--
Valid HTML 4.01 Valid CSS