Question: Build a presidents () method. Build a presidents() method that prints out the names of the first 7 Presidents of the United States, each on

  1. Build a presidents() method.

Build a presidents() method that prints out the names of the first 7 Presidents of the United States, each on separate lines. Remember to make your method a static method. Have your main method call the presidents() method. Call your class PresClass, and store it in a file called PresClass.java.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!