Hi,

It is easy only. you just refer the "Conditional operator " in java then you can understand very well.

still if you face any difficulties or any doubts post here.

Thanks.:o