I need help with a Java question. All explanations and answers will be used to help me learn.

Note : Need text how to compile and run the code

* 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.

 

“Looking for a Similar Assignment? Order now and Get a Discount!