Help me in solving SYNJMCQ40 problem

My issue

explain this code

Learning course: Learn Java
Problem Link: CodeChef: Practical coding for everyone

@denisruparel
a=1 and b=4 initially .
and loop will run till a!=b and b keeps of increasing .
so the loop will run infinite.