Hacker News new | ask | show | jobs
by ddkrone 5594 days ago
If you know C++ I'm guessing you know object oriented programming and its terminology. The only thing new to you in Java should be the syntax so start with a template for defining a class and work your way up from there. My background is mostly in dynamic scripting languages like javascript and ruby but applying what I knew to learn Java was pretty easy. The only thing new was all the extra type declarations. Don't worry about generics and the reflection API in the beginning because once you get used to the syntax figuring out how generics fit in your code and how to make use of them will be pretty easy. If you're looking for extra motivation to keep you going you could try writing an android application, that's actually how I learned it. For extra moral support you could pick up a book but in my experience programming books get outdated pretty quickly and the online Java docs cover pretty much everything you'd need to know.