“Art of learning Java” is the way in which i learned Java Programming language , will be sharing my experience .
This Articles are intended for audiences who want to learn Java and people who want to improve their Java skills prior to taking up their Certifications .
“Art of Learning Java” -The best way to learn any programming language is through Analogy and with real time examples .Will be providing analogies so that concept are much more clearer through Analogy .
Note: If you find any semantic or syntax mistakes or any suggestions please notify it to me by emailing to talkonsomething@gmail.com or just dropping an comment in the same post where you found an error.
Contents:
1.Introduction to Java
2.Platform Independence in Java
Introduction to Java : James Gosling was the creator of Java initially called Oak in June 1991 . Java is mainly Application Programming Language . which is used for developing applications like
Desktop Application(J2SE)
Web Application (J2EE)
Mobile and gaming applications(J2ME)
Network Applications
With recent technology innovation of Open source Mobile Operating System Android ,entire Android application platform is developed using Java.
Lets try to understand the difference between an Application Programming and System Programming
Application programming language basically are intended for developing applications which provides services to users and Application program directly interacts with system software . Ex Notepad
System programming is used for providing services to the underlying physical hardware device. Ex. All device driver applications.
Analogy :

→ Word Pad is Application Program which provides service for user in writing content in digitized format .
→ Word Pad application in turn calls the System program methods perform I/O functionalities through System calls present in device drivers (system program) . These System program interact with the physical hardware to convert the word pad content into file storage .
Platform Independence in Java
Distinguishing feature of Java from other programming language by its platform Independent feature. Other languages are platform dependent as shown in analogy
→ Platform dependent Analogy in programming languages


In case of other programming languages like C,C++ etc
→ when a file which contains program is compiled by the respective compilers to produce an Object Code or Object file which is Specific to particular Operating System and in turn this Object file is run or executed by CPU to machine level code (binary 0′s and 1′s).
→ Platform Independent Analogy in Java


Above diagram and analogy explains how Java is Platform Independent
→ The Java source file or program say test.java will be compiled by the compiler to produce the intermediate byte code , which is universal and the output of test.java is test.class which is platform independent (test.class can be run on any device which has the Java Virtual Machine which is specific to Operating System ) .
→ test.class can be run on
Desktop PC which has Java Virtual Machine
Mobile Phones which has Java Virtual Machine
Washing Machine (Embedded System)
→ Java is platform independent because of Java Virtual Machine . This JVM will convert the Java’s class file or byte code ,i.e test.class which is platform independent to test.o whichis platform dependent.
In Part 2 of “Art of learning Java ” will be explaining about the Installation Procedure of Java ,IDE and also kick start with writing our First Program using Java . And Java Virtual Machine will be taken in depth in my up coming articles
.
If you liked it please spread a word about talkonsomething.com
and you can also follow me on twitter here
Gr8 tutorials coming up..useful will learn from this
tnx srini
Super sina.. representing in images with real life example is an added advantage. W8ting for more
I assure my buddies that linux system Operating system is so very much superior to Windows xp but not one of them have yet swapped!
Another great article with logical points, I have been a lurker right here for a while but desire to be more involved in the foreseeable future.
An excellent post with valid points, We have been a lurker here for a short time but wish to become more involved soon.
Thank you for finding the time to publish this. I appreciate where you are coming from with this write-up unfortunately I’m sure that you have much better systems.
I have been an avid admirer of your web site for some time and not truly given a single thing back, I am hoping to alter that later on with increased chat.Thanks for another new addition towards the web site.
I’ve just stumbled upon your site while searching for a tutorial on an related subject. Glad I did too. There’s a lot I like. Anyway, you’ve been bookmarked and I’ll be back soon.
Thanks people
i am impressed! —- your site grow very fast(i know when you start this site with a WP theme
i am happy
thanks for nice tutorial..