CSC300: Object [6/23] Previous pageContentsNext page

Try java.lang.Object

Object x = new Object();
Object y = new Object();
x=java.lang.Object@8807e25, y=java.lang.Object@2a3046da
                  x==y : false
   Objects.equals(x,y) : false
           x.equals(y) : false
eqo01

Previous pageContentsNext page