Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-05-2012, 04:13 AM   PM User | #1
DJayAce
New to the CF scene

 
Join Date: Jul 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
DJayAce is an unknown quantity at this point
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?
DJayAce is offline   Reply With Quote
Old 07-05-2012, 07:55 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,653
Thanks: 4
Thanked 2,451 Times in 2,420 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
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.
Fou-Lu is offline   Reply With Quote
Old 07-06-2012, 07:58 AM   PM User | #3
DJayAce
New to the CF scene

 
Join Date: Jul 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
DJayAce is an unknown quantity at this point
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
DJayAce is offline   Reply With Quote
Old 07-06-2012, 12:17 PM   PM User | #4
alykins
Senior Coder

 
alykins's Avatar
 
Join Date: Apr 2011
Posts: 1,608
Thanks: 37
Thanked 183 Times in 182 Posts
alykins will become famous soon enough
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
alykins is offline   Reply With Quote
Old 07-06-2012, 01:53 PM   PM User | #5
DJayAce
New to the CF scene

 
Join Date: Jul 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
DJayAce is an unknown quantity at this point
Awesome, thanks for the nice advice alykins. That is a definite possibility, I'll defiantly take full advantage of the forums. Thanks man
DJayAce is offline   Reply With Quote
Old 07-11-2012, 12:30 AM   PM User | #6
BBoyd
New Coder

 
Join Date: Jan 2012
Location: Charleston, SC
Posts: 21
Thanks: 9
Thanked 0 Times in 0 Posts
BBoyd is an unknown quantity at this point
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.
BBoyd is offline   Reply With Quote
Old 07-11-2012, 02:56 PM   PM User | #7
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,653
Thanks: 4
Thanked 2,451 Times in 2,420 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
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.
Fou-Lu is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:51 AM.


Advertisement
Log in to turn off these ads.