Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where can I find java exercises

Status
Not open for further replies.

Thony

Programmer
Sep 21, 2000
2
BE
Hi,

I'm trying to understand the different concepts of the java language by doing exercises. Can anyone tell me where I can get exercises with the solutions.

Thank you for helping me out. [sig][/sig]
 
You could try the sun tutorial


although it's of variable usefulness and is better once you have some basics.

One site I found that I use as a reference and which gives nice clear examples of how to do things is:


Which is a course outline and notes by E.H.Harold who has written some O'Reilly books I think.

A large number of articles which deal with various java topics are available at:



And of course the overall reference for most of the java api is at the following (although it does not include somethings like the servlet api and the XML api). It's kind of overwhelming at first and you may not see why it's useful if you're really just starting but it's something you end up using constantly:




There's tons of other stuff out there and I suspect if anyone else posts in this thread they'll give you other options. One approach that has worked for me when learning a new language is to think of something simple you want to do like:

write a program which calculates some values based on user input

or

write an program which draws a square.

or

write a class then write another class which subclasses it.

or whatever.
Then try to find places that have examples of something like that but try to rewrite the program from scratch. One thing is that a lot of the code examples out there have been around a while and use deprecated methods and of course there's never any guarantees as to the quality of samples you'll find. You can also try doing searches on "java lecture" or "java course" and you'll often get online notes from university courses.
Anyways, good luck.
[sig]<p>--Will Duty<br><a href=mailto:wduty@radicalfringe.com>wduty@radicalfringe.com</a><br><a href= > </a><br> [/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top