• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tips on Learning Java  RSS feed

 
Chris Ollerr
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am an old Cobol programmer, who is attempting to learn Java.

To be honest I am a little confused on where to begin. Does anyone have any ideas (for lack of a better turn) the curriculum I should follow? Any books people would reccomend, etc.

Thanks in advance
Chris
 
Campbell Ritchie
Marshal
Posts: 55772
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

Start looking for books here.
 
Manu Ullas
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to Object Oriented programming (OOP) Chris. :-)

Java is a great language to start your journey into OOP.

To truly understand Java, one must try to accept these axioms:

"(Almost) Everything in Java is viewed as an object."

"An object has an internal state, and can do things for itself and for other objects."

"The internal state of an object is expressed in terms of its members which can be primitives (non-objects) such as integers, floating point variables, characters, boolean variables or even objects, like Strings."

"What an object can do is laid out in methods (aka functions)."

"An object is described by a class. (Think of this as the idea of what an object is like.) An object is an instance of this class. (This is the real thing)."

"Objects like primitives are referred to by reference variables."

"Objects can learn from one another (through inheritance). Objects can fulfill certain contracts laid down by the programmer (by implementing interfaces)."

You'll discover more of these as you go along.

Hope you enjoy learning Java as much as I did!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!