Search:

Type: Posts; User: Norm

Search: Search took 0.25 seconds.

  1. Replies
    16
    Views
    918

    Re: [ Build An Alarm ]

    @noura If you have a question, please start your own thread. Be sure to wrap any posted code with code tags.
  2. Replies
    16
    Views
    918

    Re: [ Build An Alarm ]

    If you have any specific questions about the code you are writing, please post them.
  3. Replies
    16
    Views
    918

    Re: [ Build An Alarm ]

    Ok. A package isn't necessary for the code to be compiled or tested. The code for testing the class can be in a main method in the Clock class.
    When the code works, changes can be made if your...
  4. Replies
    16
    Views
    918

    Re: [ Build An Alarm ]

    Much better.

    Does it compile without errors?
  5. Replies
    16
    Views
    918

    Re: [ Build An Alarm ]

    Your IDE or editor will do it. Check the IDE's documentation for code formatting.

    If no IDE, then use the editor by adding spaces before the nested lines.
  6. Replies
    16
    Views
    918

    Re: [ Build An Alarm ]

    Ok, that looks like a good start.
    Does it compile?

    The posted code has lost all its indentations. Logically nested statements should be indented to show the logic:


    if(a == b) {
    ...
  7. Replies
    16
    Views
    918

    Re: [ Build An Alarm ]

    Look at the instructions for the program.
    What is the name of the class?
    Create a class with that name.

    What is the name of any methods?
    define the methods that are required.

    What does the...
  8. Replies
    16
    Views
    918

    Re: [ Build An Alarm ]

    yes, we can help answer any specific java programming questions you have.

    What do you have so far? Be sure to wrap all posted code in code tags.
    If there are any error messages, copy the full...
Results 1 to 8 of 8