Here I write a program that gives an example of modular programming with Java. This is a more organized way of writing larger programs that makes it easier to identify errors. I go through the definition and each line of code in detail. I also explain how the while loop works to find Pi. Please Rate, Comment, and Subscribe for more Learn Java with Me videos!!