Search:

Type: Posts; User: Nitnatsnok

Search: Search took 0.11 seconds.

  1. Replies
    2
    Views
    525

    Re: Compiling Error on Print method

    Ah I can't believe I forgot to put the opening bracket after the main method. That's what I get for code late at night.
  2. Replies
    2
    Views
    525

    Compiling Error on Print method

    I'm creating a program as an exersize which is supposed to take command-line arguments and print out their values.

    Here is my code:



    class InputDataTypes {
    public static void main(String...
  3. Replies
    3
    Views
    837

    Re: Block Statements Question

    I guess in the first block the countDays from the second block is called. So that is kosher?

    If there was a line in the second block that said:


    int x = 3'

    That would not be able to be...
  4. Replies
    3
    Views
    837

    Block Statements Question

    Hello,

    This is my first post :) Just getting into learning programming and I am starting with Java.

    I'm currently reading the book Teach Yourself Java in 21 days and I'm learning about List,...
Results 1 to 4 of 4