Suppose that we have a class called class1.
The class1 has a method called method1 and this method gets an object of type class1. like this:
public class class1
{
//instance members
// property methods
public void method1(class1 obj)
{
//...........
}
}
What does it mean: the method gets an object of this class type? In what scenarios can this be used?