Page 2 of 2 FirstFirst 12
Results 21 to 23 of 23
  1. #21
    chick is offline Member
    Join Date
    Mar 2010
    Posts
    17
    Rep Power
    0

    Default

    Java Code:
    public Picture mirrorFrame(int frameSize, Color frameColor)
    {
      mirror();
      frame(int frameSize, Color frameColor);
    }
    }
    now this has three errors its really never ending

  2. #22
    Join Date
    Oct 2009
    Posts
    25
    Rep Power
    0

    Default are you in csi201

    are you in csi201 ?

  3. #23
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,519
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by chick View Post
    Java Code:
    public Picture mirrorFrame(int frameSize, Color frameColor)
    {
      mirror();
      frame(int frameSize, Color frameColor);
    }
    }
    now this has three errors its really never ending
    You are still having problems with your curcly braces; you can't just sprinkle them in carelessly and expect the compiler not to complain. They all have to match and I have the feeling that you're not really paying attention to them. Does your editor have a brace matching functionality? Basically a class should have the following structure:

    Java Code:
    class YourClass {
       void method( ... ) { ... }
       int anotherMethod( ... ) { ... }
       ...
    }
    kind regards,

    Jos

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Homework help
    By rclausing in forum New To Java
    Replies: 26
    Last Post: 11-24-2009, 06:06 AM
  2. Please Help with Homework
    By theuser in forum Advanced Java
    Replies: 2
    Last Post: 07-30-2009, 03:37 PM
  3. help with homework
    By pinkdiamondgail in forum Advanced Java
    Replies: 7
    Last Post: 04-07-2009, 01:34 AM
  4. Homework help...
    By robrobrob in forum New To Java
    Replies: 4
    Last Post: 10-17-2008, 04:24 AM
  5. Need help with homework.
    By JavaNewbie0000 in forum New To Java
    Replies: 2
    Last Post: 07-31-2008, 03:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •