Guess that all depends on what you mean. I can't quite tell if you're talking about examples from a book, or just looking for some program to poke and prod a bit, make changes to, etc, to get a feel for the language in practice.
In the case of the former... They probably should have come on a CD included with the book, or one of the early chapters will list a website where you can download the code examples. Another good idea I've seen suggested, is to create a program that has a list of all language keywords that you've learned up to that point, a brief description of what each one does, and maybe even a short example. Make this into a sort of reference guide program for yourself. Text based at first, and then when you start learning about AWT, Swing, SWT, etc, you can add a GUI to it. Maybe eventually put all the language information into a database, and have the program pull it out.
In the case of the latter... I would suggest visiting the SourceForge website. It's a sort of gathering point for open source projects, many of which may be done in Java. You could find one that interests you, and maybe is just starting out, so you don't have to spend all the time familiarizing yourself with the code base. Or you could maybe take up work on an abandoned project. Another good idea, is to find an existing program that is of reasonable size, and volunteer to go through the code base and add comments that document the code. It's a good way to really familiarize yourself with "real world" Java code, learn the ins and outs of a particular program at the source level, and it's a useful service. Most developers HATE commenting code, even though they know it's highly useful if you need to come back to some bit of code 6 months later, and you can't remember what in the world it does. Over time you can start making small additions of your own... Fixing an odd bug here and there, making some small improvement... Working your way up to being one of the core developers.
well i m learning java. I read and understand the various chapters but unless you practice programs it useless. can anyone tell me where can i get the practice problems or programs for better practice of java. thank u

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic