January 6, 2013
The below program demonstrates how to pass by references in methods.It defines a method named commonValue of Class Point which takes Objects of Class Point as a parameter.
Submitted by