Skip to main content
Engineering LibreTexts

12: Void Methods

  • Page ID
    15234
  • So far we’ve only written short programs that have a single class and a single method (main). In this chapter, we’ll show you how to organize longer programs into multiple methods and classes. We’ll also present the Math class, which provides methods for common mathematical operations.

    • Was this article helpful?