How to write our first java program with an example?

After Successfully installation of java now the question arises that how to write our first java program. So here we try to create a very basic java program. it is a tradition when we start learning a new¬†programming language then it goes with a program called “Hello World.”