Welcome to DrJava. Working directory is C:\Users\rlkraft\Desktop > Test t = new Test() > t.x = 17 17 > t.y = 1.7 1.7 > t.w = new Test() Test@23ffbc84 > t.w.x = 7 7 > t.w.w = new Test() Test@49684647 > t.w.w.x = -5 -5 > w Static Error: Undefined name 'w' > t.w Test@23ffbc84 > t Test@3f968ce8 > t.w = "hello" Static Error: Bad types in assignment: from String to Test > Test t2 = new Test() > t2.setX(45) > t2.x 45 > t.setX(6) > t.getX() 6 > t.z = 77 77 > t2.z 77 > z Static Error: Undefined name 'z' > Test.z 77 > Test.getZ() 77 > Test.z = 100 100 > Test.getZ() 100 >