Examples of Java code are so numerous on the internet it would be easier for you to google "java examples" than it would be to wait for us to post responses. I would suggest the Java tutorials, and most of the posts in these forums have some sort of code posted.
SCJA
When I die, I want people to look at me and say "Yeah, he might have been crazy, but that was one zarkin frood that knew where his towel was."
you are right Joe. Since Tuesday, I have been made some search to find real programing examples.
I suggest for beginners, you can google and find a lot Java sample. For example "Java phone book " will help you if you want to see a real program that is created with Java.
Serap Elbeyoglu
I would challenge you to a battle of wits, but I see you are unarmed - shakespear. Unarmed tiny ad:
a bit of art, as a gift, the permaculture playing cards