© A+ Computer Science - . In Java, any variable that refers to an Object is a reference variable. The…