This should work. I strongly suggest that you go through the tutorials in the link I posted earlier.
public class motorcycle {
static String make,color;
static boolean engineState;
...
Type: Posts; User: Brt93yoda
This should work. I strongly suggest that you go through the tutorials in the link I posted earlier.
public class motorcycle {
static String make,color;
static boolean engineState;
...
I don't know why the web page is freaking out. Anyways, all of it depends on what you are trying to do. If I were you I would go through some more tutorials. Here is a good place to start:...
If you're making a method you have to include private or public BEFORE the return.
public void showAtts(){}
//or
private void showAtts(){}
Here is how to set up a method:
Modifier...