Java 101


Java 101

Reading Time: 2 minutes

‘Java’ the object oriented programming language was developed by James Gosling of Sun Microsystems(now a part of Oracle) in 1995. It is a platform independent programming language meaning that once a Java program is written and compiled – the compiled program can run on any architecture(Apple, Windows etc)It is this feature that makes it flexible. It is also much easier to work with Java than other programming languages like C++.

Embedded systems, GUI programming, enterprise applications , mobile applications are all applications of Java. The core object oriented principles are inheritance, polymorphism and encapsulation. These concepts ensure the Java code is efficiently written and is re-usable. We will see a few concepts of core Java in this post. 

Classes, methods, variables, interfaces are all parts of a Java program.


To explain ‘Class’ in an understandable form , I always give the example of ‘man’. ‘Man’ is a class and each of us is an ‘instance’ of the ‘Man’ class.


In the ‘man’ Class – what he can do is a ‘method’. For example,



talk() are all methods of the ‘man’ class.

‘Man’ can ‘walk’, ‘run’, ‘talk’ which are the methods of the ‘Man’ class.


The describing features of ‘man’ class are the variables. For example, 



color of hair

are all variables describing the ‘man’ class.

These are the very,very basic concepts behind writing a Java program. Incorporating these concepts into a program, you can write your very own ‘Hello’ world’ Java program. Of course, Java is an ocean and there are many more aspects to these very concepts. We will cover them in later posts….

Java can be downloaded from here...

This post is for alphabet ‘J’ for the  A to Z Blogchatter challenge… the previous post is here...



About the author

Jayanthi administrator

Leave a Reply