Search:

Type: Posts; User: Norm

Search: Search took 0.19 seconds.

  1. Replies
    17
    Views
    1,225

    Re: how to do this simple java program?

    Can you post code that is properly formatted now?

    The formatting is done in the editor.

    Does your IDE have a way you can copy the full text of the error messages and post them?
    Otherwise you...
  2. Replies
    17
    Views
    1,225

    Re: how to do this simple java program?

    Here is a sample of formatted code with indentations:


    for(int n=2; n < 6; n+=3) {
    int counter = 0;
    for (int i = n; i <= 3*n; i++){
    ...
  3. Replies
    17
    Views
    1,225

    Re: how to do this simple java program?

    Have you read how to write class constructors?
    Constructors (The Java™ Tutorials > The Reflection API > Members)

    What don't you understand about creating and using a class's constructor? You...
  4. Replies
    17
    Views
    1,225

    Re: how to do this simple java program?

    Please copy the full text of the error message and post it here. Don't post a screen image. They are hard to read and the text can not be copied and pasted for adding comments to.

    Also please...
  5. Replies
    17
    Views
    1,225

    Re: how to do this simple java program?

    Look at some other threads where code has been posted. There are many to look at.
    Also look at how the code is formatted in the tutorials:
    Code Conventions for the Java Programming Language:...
  6. Replies
    17
    Views
    1,225

    Re: how to do this simple java program?

    Please copy the full text of the error message and post it here.

    Also please edit the code and properly format it with indentations for nested statements.
    All statements should not begin in the...
  7. Replies
    17
    Views
    1,225

    Re: how to do this simple java program?

    Please edit your post, format the code and wrap your code with


    <YOUR CODE HERE>

    to get highlighting and preserve formatting.

    Statements should be indented to show the logic. They should...
  8. Replies
    17
    Views
    1,225

    Re: how to do this simple java program?

    Please post the code you are having problems with and the questions about any problems you are having with it.
Results 1 to 8 of 8