• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Want to learn Java - need advice!

 
Jeff McIlvain
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
This is my first time to visit the Java Ranch. I'm extremely anxious to learn Java, but I don't really now where to start. I have a very, very limited background in C++. Most of my programming experience has been with VB. My goal is to pass the SCJP so that I can move on to better opportunities.
So far I've started to read Bruce Eckel's Thinking in Java. I'm frustrated right now because I'm really getting bogged down with the first chapter which deals with an introduction to objects. I just can seem to grasp the concept. I've also ordered Just Java 2, and I'm hoping that I'm able to get more out of it.
Anyway, I'm looking for advice and suggestions in regards to the best approach for a beginner to learn Java, and also how I might grasp the concepts of OOD.
Thanks in advance for the help.
Jeff
 
John Wetherbie
Rancher
Posts: 1449
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take things one step at a time. Start doing the assignments here and use TIJ and the other book as references. Keep asking questions and you'll figure it out in time.
What is an object or a class? Well, the way I learned was to think of a class as representing a real thing in the world. This doesn't mean just physical things like cars and satellites but also processes and other things that are not tangible. What a class knows and is responsible for is represented by the data and the methods inside of it. So you ask a Satellite object what its attitude is (where it is pointing) or a OilCracking object at what phase of the process it is at.
This is a pretty poor introduction but if you think about it this way to start with it may help.
Hope you join us here punching some doggies!
John
 
Jeff McIlvain
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks John! I appreciate it. I'm re-reading the Intro to Objects chapter in TIJ and it's starting to come to me. Your example helped even more. I'll get this stuff eventually.
Thanks again,
Jeff
 
ryan burgdorfer
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeff,
The link below is an EXCELLENT online tutorial for beginners, teaching the basics of OOP using JAVA. It is the first thing I went through after I decided to learn Java, and gave me a solid foundation upon which to build. The style it is written in is VERY easy to understand.
http://math.hws.edu/javanotes/index.html
~Ryan
 
Jeff McIlvain
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ryan! I'll check it out.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic