Gus Hayes wrote :
The multiply method is called with parameters 5 & 6 passed to it.
*First of all the multiply method is called with the PassObj object passed to it.
The point of :
is to assign the values p1 and p2 to instance variables n1 and n2.
When you are instantiating PassObj "PassObj obj1 = new PassObj(5,6)
;" the PassObj(int p1, int p2) constructor will be called and values will be assigned.
The constructor call is shown in bold
in above line.