Slide 1©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 2 Getting Started with Java Slide 2 ©TheMcGraw-Hill Companies, Inc. Permission…