Dive into different types of loops in Java including for, while, and do-while loops to iterate through code.