Search:

Type: Posts; User: Brt93yoda

Search: Search took 0.17 seconds.

  1. Replies
    9
    Views
    1,972

    [SOLVED] Re: instantiate problems

    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;
    ...
  2. Replies
    9
    Views
    1,972

    [SOLVED] Re: instantiate problems

    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:...
  3. Replies
    9
    Views
    1,972

    [SOLVED] Re: instantiate problems

    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...
Results 1 to 3 of 3