learn JAVA

I have been using VB.NET for a long time and i have never written even a "Hello your world" application in JAVA.   now i want to learn JAVA. what is the best book for a real beginner like me in JAVA.

Anthony MatovuBusiness Analyst, MTN UgandaAsked:
Who is Participating?
Hugh McCurdyCommented:
I would still get a Java book that also teaches OOP concepts.  There's a vocabulary to learn if you want to communicate with others using Java.

Functions in C++ would be called methods in Java.   A method such as getFirstName() would be called an accessor in Java but a getter in C++.  (Although some using C++ still say accessor.  I'm one of the some.)

I have a learning suggestion once you know Java.  You might want to study Data Structures and Algorithms.  You can find out how ArrayList, Hashing, etc work (if you don't already know how they work).  You can learn to avoid the infamous bubble sort...
Gurvinder Pal SinghCommented:
i used to use this in my early java days

PS: i am working on java for last 6-7 years

The following book is also recommended for getting one of the first java certificates (SCJP):


Regards, Reijnemans
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Gurvinder Pal SinghCommented:
And if you want to go for books, then
-- head first java
-- java by balaguruswamy

Hugh McCurdyCommented:
I used Objects First With Java: A Practical Introduction Using BlueJ (4th Edition) by David J. Barnes and Michael Kolling.  Priced like a college textbook because it is.

However, you can download BlueJ for free.    http://www.bluej.org/   This omits the instruction but does provide you with an IDE (of sorts) and program source code, both good and bad examples.

I'm guessing you don't have tuition reimbursement available.  If you do, you could take a course (except many colleges already started).  Sometimes it's useful to have someone review your code.  (Of course, you could post code here and get help.)
One advice on learning any language...

Learning just the syntax is not sufficient, what's more important than the syntax is to understand the culture of the language. Learning the syntax along with the culture would help to write useful code, else we would end up in writing junk code.

for java, we need to understand the object oriented programming principles, etc...
Hugh McCurdyCommented:
Following up on arundhaj.  I agree.  I think that leads to a question for the author -- what do you already know about OOP principles?  I don't know VB.NET so I don't know what you know about the OOP principles.  Do you know these terms?


This is only a partial list.
Anthony MatovuBusiness Analyst, MTN UgandaAuthor Commented:
I think I am okay with OOP
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.