Hii everyone...Can anyone please explain me the following code line by line..as what is happening in everyline i'll really appreicate...thanks
1.class Q6{
2.public static void main(
String args[]){
3.Holder h= new Holder();
4.h.held=100;
5.h.bump(h);
6.System.out.println(h.held);
7.}
8.}
9.class Holder{
10.public int held;
11.public void bump(Holder theHolder){
12.theHolder.held++;}
13.}
output is - 101