Problem: The class should have an int field named monthNumber that holds the number of the month. For example, January would be 1, February would be 2, and so forth. In addition, provide the following methods: • A no-arg constructor that sets the monthNumber field to 1. ... error : write a class named month the class should have an int field Any ideas on what I need to do to fix this? Thanks!
asked
6 days ago
Ali
6.5k points