Assignment Instructions
Instructions:
* Make sure you go to this week’s chapter lesson for more guidance.
For this assignment, you will create an object class then display its assigned values from the main method of the main class.
Save the code in jGRASP, then save it in c:myjava and run it.
/*******************
Name:
Date:
Notes:
*******************/
class Car
{
add content and comments
public static String accelerate()
{
return motion;
}
}
public class CarObject
{
public static void main(String[] args)
{
add content and comments
}
}
Make sure that you include all source codes and the compiled codes into W4_firstname_lastname.zip.
You must leave me a note in the Submitted Text area on how to compile and run your code.