Beginner's Java - Need resources

Discussion in 'OT Technology' started by sonicyouth, Jul 15, 2003.

  1. sonicyouth

    sonicyouth Guest

    I am trying to learn Java and would appreciate resources or sample code. I have tried searching google and haven't come up with high quality results. I know there are quite a few programmers who have better resources.

    I am looking for things like creating a program that rolls the dice 1000 times and keeps track of how many times the number comes up.

    Also I am looking for something like this, when a user enters 3 seperate numbers and gets the day of the week as a result.:

    Sample 1 input : 3 8 2002
    Sample 1 output: Friday

    Sample 2 input : 3 12 2002
    Sample 2 output: Tuesday

    All help is appreciated.
     
  2. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    IBChris
     
  3. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
  4. CompiledMonkey

    CompiledMonkey New Member

    Joined:
    Oct 26, 2001
    Messages:
    8,528
    Likes Received:
    0
    Location:
    Richmond, VA
    :o

    I think the best way to learn is pick up a book (Thinking in Java is a great one) and read. Do the examples in the book and learn it that way. Just coming up with ideas and trying to code them is cool, but you'll probably miss out on some of the theory behind what you are doing. Thinking in Java has a good explaination of OOP for a newbie.

    Oh, and if you want to stick with getting ideas and coding them, how about this: http://www.isy.vcu.edu/~cstewart/info350/Homework3.html . ;)
     
  5. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
    u can get thinking in java 2 and 3 for free off the web
    do a google search for it
     

Share This Page