Create a new Java project called firstName_lastName_Part1 in NetBeans. Select the option to create a main method. Create a new class called Computer. In the Computer class, write the code for:
- Instance variables to store the computer's make and model
- Two other instance variables that are appropriate for a computer
- A default constructor and a second constructor that initializes all four of the instance variables
- Accessor (getters) and mutator methods (setters) for all four of the instance variables
- A method called printDetails that prints the computer's details, e.g., "The computer's details are:" followed by all four of the instance variables formatted for readability
In the main method, write the code to:
- Create 2 computers, one using the default constructor and the other using the constructor that initializes all the instance variables for the computer
- Demonstrate the use of one accessor method and one mutator method for one of the computers you created
- Print the computer's details using the printDetails method for one of the computers you created