java.lang.Object.equals(Object obj) java.lang.Object.clone() java.lang.Object.finalize() java.lang.Object.equals(Object obj) package com.codingdict; public class ObjectDemo { public static void main(String[] args) { // get an integer, which is an object Integer x = new Integer(50); // get a float, which is an object as well Float y = new Float(50f); // check if these are equal,which is // false since they are different class System.out.println("" + x.equals(y)); // check if x is equal with another int 50 System.out.println("" + x.equals(50)); } } java.lang.Object.clone() java.lang.Object.finalize()