Search:

Type: Posts; User: Junky

Page 1 of 20 1 2 3 4

Search: Search took 0.46 seconds.

  1. Replies
    3
    Views
    68

    Re: Data Structures and Algorithms

    We do not write your code for you.

    You write your code, post it here and ask specific questions. Include all error messages.
  2. Replies
    5
    Views
    98

    Re: why doesn't it work??? (eclipse)

    Do you have a class called Circule? Check spelling, case etc.
    Does the Circule class have a default (no args) constructor?
  3. Re: add a number of X consecutive values in an array and get the minimal total value!

    Adding X consecutive values in an array and getting the minimal value!

    Duplicate post.
  4. Re: Recursive method to remove vowels in a string

    a recursive method to remove vowels in string

    Done!
  5. Replies
    8
    Views
    600

    Re: Need help with a parking fees code

    This could be simplified if after you have validated entry and exit times, calculate total time spent in car park. Then calculate fee. This will remove the need for so many if statements and would...
  6. Re: Making Squares of Numbers without Multiplication

    Show your code!
  7. Re: How many beers does it take to become intoxicated?

    Just to clarify the Scanner does not "grab" the new line/carriage return character, it reads and returns anything up to the new line/ carriage return character. In this case there is nothing there...
  8. Replies
    9
    Views
    245

    Re: Stuck on 12 node star assignment

    What function? Subtraction?
  9. Replies
    9
    Views
    245

    Re: Stuck on 12 node star assignment

    When you add 5 to 10 you get 15 which is greater than 12 and your loop exits. You will need to rethink your design. Maybe a while loop would be better. To wrap your values back around to 0 you can...
  10. Thread: Confused

    by Junky
    Replies
    13
    Views
    259

    Re: Confused

    Be careful. Just sticking static in everywhere is not a good solution and goes against OO principals.
  11. Thread: Contacts

    by Junky
    Replies
    2
    Views
    182

    Re: Contacts

    Let's not. A better solution is to create a Person object to encapsulate the data but I guess this is a stupid assignment to teach 2D arrays.
  12. Replies
    7
    Views
    265

    Re: How to handle string with characters

    That's why I'm confused. What exactly is the OP doing?
  13. Replies
    2
    Views
    191

    Re: My code is not working :(

    A lot of the time when people say "... doesn't show on my gui" it's a painting issue. Have you called repaint?
  14. Thread: SOLUTION

    by Junky
    Replies
    2
    Views
    203

    Re: SOLUTION

    Long month!
  15. Replies
    7
    Views
    265

    Re: How to handle string with characters

    :confused:

    If the String is coming from another system then internal quotes should not be a problem.
  16. Replies
    5
    Views
    367

    [SOLVED] Re: Help with calculating age

    A Calendar object will represent the exact point in time it was created. You can then call its methods to find the day and month. Then compare them to you birthdate month and day. Go to the API and...
  17. Replies
    5
    Views
    367

    [SOLVED] Re: Help with calculating age

    You can use the Calendar class to check if today's month/day is before or after the month/day of the birthdate and adjust accordingly.
  18. Replies
    6
    Views
    452

    Re: multiple methods in one class

    Copy and paste the exact error messages as well.
  19. Replies
    6
    Views
    292

    Re: Why won't it read my Input file?

    You could use a JFileChooser and allow user to locate the file.
  20. [SOLVED] Re: Beginner Java Assignment Help (Calculations/Conversions)

    Try working out how to do this using your native currency first. Once you have that working then convert it to G S K!

    (Shekel for an ex-leper?)
  21. Thread: java coding help

    by Junky
    Replies
    3
    Views
    239

    Re: java coding help

    Google!
  22. Replies
    11
    Views
    573

    Re: Generating per person URL

    Even if this was possible what would stop A logging on and then handing computer over to B to do homework for them? As Cornix said, students will always think of ways to cheat. What gets me is that...
  23. Replies
    13
    Views
    269

    Re: Infinite loop on double linked list

    How do you add a new element to the List?

    --- Update ---

    OK

    Just looked at the code and it seems you are maintaining a Sorted List. Normal List implementations have two instance variable,...
  24. Replies
    10
    Views
    171

    [SOLVED] Re: Reusing an Entered List of Array Elements

    String[] key = {"A", "D", "B"};
    String[] answers = {"A", "C", "B"};
    loop {
    if answer equals key element {
    inc count
    }
    }
    if use a new key {
    get new key
    }
  25. Replies
    21
    Views
    514

    Re: Making a rectangle

    Yes it does. If you go back and read and reread things until you understand you will be able to fix your own problems and you learn better that way. Just expecting us to tell you how to fix the code...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4