hi Marlene
oo...
I without using the compiler help me at this time
It is a good practice /exercise
Let me try......
boolean b1 = "astring".equals(o);
b1=true
boolean b2 = o.equals("astring");
b2=true
boolean b3 = "astring".equals(c);
b3=true
boolean b4 = c.equals("astring");
b4=true
boolean b5 = o.equals(c);
b5=true
boolean b6 = c.equals(o);
b6=true
boolean b7 = "astring".equals(s);
b7=false
boolean b8 = s.equals("astring");
b8=false
Because I seldom use Comparable
thanks for checking my answer