When I first started with Java programming, the fist program I wrote was HelloWorld in Java. That time I just copied it from a text book we were referring, I didn't know anything about it. It took me a lot of time to understand everything about Helloworld in Java and how it works. From that time, I made it a rule to start with writing Helloworld program in any new programming language I learn and try to understand every single element of it in as much detail as possible, but, to be frank its not that easy. When you write say Helloworld in Java, you are not capable enough to understand everything about it, and I found it better that instead of learning everything in one go, you should give yourself some time to let the knowledge you learned sink in. It's even better if you write Helloworld program multiple times without looking at the book. I have found that doing it repeatedly helps you to understand it better. So, why after so long years I have decided to write about Helloworld program in Java? and what is meaning of different components of it? Well, one of my reader who has just started learning Java asked me this question. He was curious to understand what does System.out.println() really means and why we didn't wrote something like println() and requested me to write about it. I also realized that since many beginners visits my blog, its fair to them to write tutorials which explains basics right from Helloworld in Java. By the way, if you are serious about learning Java, then there is no substitute of a good book. You will learn more in less time by following a quality book like Head First Java 2nd Edition.
Read more »
No comments:
Post a Comment