Introduction to Java

Damitha karunarathne
2 min readMar 31, 2020


HI READERS ! This is my First Article , it is about java programming languages.I hope to continue this with in more articles further.Your comments and opinions are highly appreciated.These blog will help you to learn Java Programming and concepts in a simple and effective way.

java is object oriented programming language.Java was developed by James Gosling at Sun Micro Systems in 1991.Java is based on mainly C and C++ Languages.

Java Attributes

  1. Familiar,Simple,Small

2.Compiled and Interpreted

3.Platform-Independent and Portable


5.High performance

6.Dynamic and Extensible

7.Multi Functional

Java Development Kit

javac- The java compiler

java-The java Interpreter

jdb-The java Debugger

appletviewer-Tool to run the applets

javap-To print the java Bytecodes

javaprof-Java profiler

javadoc-documentation generator

javah-creates C header files

We can create java Source file in notepad,Dos edit etc…Source file should be saved with extension.In compiling and Running the source file first we should set the Path.Assume you saved your source file in file D,as day1 c,saved name is FirstProgram then the path shows as bellow.


here Javac is Java Compiler. is Source File name.

This is how it happens.You write your logic code in a Java File,Its converted into class file so that machine can read your logic and run it.

Here I am going to write my First java programming.

public class FirstProgramme{public static void main(Stringargs[]){
System.out.println("Hello world");

Comments In Java

public class FirstProgramme{
public static void main(String args[]){
System.out.println("Comments in Java");/*This is a multiple line comment*///This is use for single line comment

So this is very short Introduction to java and Java compiling.So in my next article I hope to continue it with Java Data Types.All above codes are run by my self and they did work greatly.Thank you for reading.I hope you enjoyed it and got some idea about Java.