Java 101


Java 101

‘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….

Read about:  Overloading and Overriding Methods in Java

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

Jayanthi Manikandan has an undergraduate degree in Computer Science from India and a Master's degree in Information systems with a specialization in Information security from Detroit, MI, USA. She has written blogs for Simplilearn, Whizlabs software, InfoSec institute and Jigsaw academy. She has created e-learning videos for Whizlabs software and Twenty19. She has been passionate about Information security and has several years of experience writing on various technical topics. Additionally, she loves to pen a few personal thoughts here as well! :)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.