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?
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.
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'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.
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.