answered
Reference variable is one which holds reference(points to) to a an instance(object) of a class.. If I say, Box b..then b is a reference variable of type Box(where Box is a class).Now it can hold reference to any instance of class Box or of classes derived from it as described below: Box b=new Box(); new … Read more