Alright! Here's what I want you to do. You must complete at least the Required Tasks to earn credit for this requirement. The Challenge Tasks are optional and are generally a little harder or complex. Feel free to use the Contact Me page to ask me any questions. Good luck!
required java tasks
1) Create your own Class. It could be a troop, a dog, a car, etc. Be creative!
* Your class should have at least 3 attributes. At least one should be a number and at least one should be a String.
* Your class should have a toString method that will return a String containing all of your class's attributes.
* Write a static method that will ask for user input and create at least one of your Class objects.
* Print out the object(s) you create.
* Your class should have at least 3 attributes. At least one should be a number and at least one should be a String.
* Your class should have a toString method that will return a String containing all of your class's attributes.
* Write a static method that will ask for user input and create at least one of your Class objects.
* Print out the object(s) you create.
optional challenge tasks
1) Write at least one additional method for your class. Have the method return something; it could return a boolean, a String, or a number.
2) Print an additional message based on the object created (you could make use of your additional method here).
* You can make use of an 'if' or 'if-else' block for this.
3) Create a second class.
* Have your first class create an instance of this second class.
* Have your first class interact and make use of this class.
4) Add additional user interaction. For example: after your user provides enough information to create the object, let the user interact with the object (different inputs could change the attribute values, could change how the class operates, be creative!)
2) Print an additional message based on the object created (you could make use of your additional method here).
* You can make use of an 'if' or 'if-else' block for this.
3) Create a second class.
* Have your first class create an instance of this second class.
* Have your first class interact and make use of this class.
4) Add additional user interaction. For example: after your user provides enough information to create the object, let the user interact with the object (different inputs could change the attribute values, could change how the class operates, be creative!)