2 ♦Syntax for main method?7

Warm ups:

  • Write the syntax pattern for a main method
  • Write the syntax pattern for a instantiating a class and calling a method on it.
  • Write the syntax pattern for printing output to the console.

Writing Challenge: Define a class called IntDemoRunner with one static main method. Use this method to demonstrate the syntax for instantiating a new IntDemo object, calling its methods, and printing their return values.