Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Jul 2012
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Looking for good Java tutorials + assignments

    Hello, I'm getting into learning Java and want to self teach myself. I am just looking for a really good java tutorial, along with tutorials that can give out homework assignments.

    I found this guy on youtube http://www.youtube.com/watch?v=Hl-zzrqQoSE
    Supposedly he's like the best java teacher on youtube, but... I'm looking for something that will give out homework assignments and labs and what not.

    Does anyone know of a good free java class that has tutorials and homework?

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    Not homework type questions, but the tutorials and information just from oracle's website is quite good: http://docs.oracle.com/javase/tutorial/

    For assignments, you can probably just google up for "Java assignments". The downside is, "assignments" is also a functionality of the language, so you may end up with simple basic tutorials on how to assign variables.

  • #3
    New to the CF scene
    Join Date
    Jul 2012
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for your help Fou-Lu, I'm defiantly going to look that up right now. If anyone else knows of anything that would be great as well. Thanks again

  • #4
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,722
    Thanks
    41
    Thanked 191 Times in 190 Posts
    you could also post back here requesting an assignment- I am sure someone will/would/could (if I saw it I would) make one up for you... make sure when you do that though, that you state everything you have covered... for example if you have only covered standard IO and variable assignment it would be a good assignment to get you to learn basic math functions, or switch statements, or for/foreach loops, and so on... it would be bad to tell you to do something like explore a file folder on your machine. make a list of all the folders and sub folders... list all the folders in a text file. then get a list of every file in a folder less than 5MB and list the name and type of that file... then group those files by type, and then by name and write them to the same text file you listed all of the folders in... and it can keep on going up in complexity

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • #5
    New to the CF scene
    Join Date
    Jul 2012
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Awesome, thanks for the nice advice alykins. That is a definite possibility, I'll defiantly take full advantage of the forums. Thanks man

  • #6
    New Coder
    Join Date
    Jan 2012
    Location
    Charleston, SC
    Posts
    23
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Assignment

    I'm taking my first Java class this summer and here is a simple assignment we did. Currently we are working on a taxi simulation that is a little more challenging. Hope this gets you started.

    ----------------------------

    Create an applet that allows me to type in two numbers and display an answer string. Create buttons that will allow me to do the following:

    * ADD Display the answer to the addition of the two numbers only if the answer is greater than 10 and less then 8,000.
    * SUBTRACT - Display any answer, positive or negative, except zero.
    * MULTIPLY - Display the product of the two numbers, unless that product is an odd number.
    * DIVIDE - Do not carry out division by zero. Do not print an answer unless there is a remainder.
    * CLEAR - This button will clear out all textfields.
    * FILL - This button will fill in the two input fields with default numbers of your choice.

    Except for FILL, if no answer is printed, then an error message should be displayed.

  • #7
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    This may be a bit advanced for a beginner since it uses applets as well as try/catch.

    It is mostly good, if you omit the clear and fill, and implement it with scanner. You can use the hasNext* functionality to determine if you can make use of it or if you print an error and clear the buffers.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •