Introduction to Java

Introduction to Java

What is Java?

Java is one of the high level languages,which is robust,object oriented ,and this language is safe and secure.

JAVA was developed by James Gosling and Patrick Naughton, JAVA was developed at Sun Microsystems Inc in 1991, later this language was occupied by Oracle Corporation

Applications of Java

  • Web applications
  • Desktop Applications
  • Embedded Systems
  • Web servers
  • Application servers
  • Games
  • Database connections
  • Robotics
  • More so many applications are used to built by Java

Features of Java (BUZZ words)

  • Simple
  • Object-Oriented
  • Robust
  • Platform independent
  • Secured
  • Multi-Threading
  • Portable
  • High Performance
  • Dynamic
  • Distributed

Java Hello World Program

lets write one basic java program

class Helloworld
public static void main(String[] args)
System.out.println ("Hello World,this is codeskulls");


Hello World,this is codeskulls
  • class : This is a class keyword used to declare classes in java, here in the above example the class name is Helloworld, so the file name should be the same as the main class name to run the program.
  • public static void main(String[ ] args) : This is the main method, every java program contains the main method in it, the execution of the program starts from the statements present inside the main method
  • System.out.println : This statement is used to print the string present between quotation marks โ€ โ€œ, like in the above program the output is (Hello World,this is codeskulls), System should be CAPITAL S

Are you worried with the new terms like class, method, public, static and so on,we will discuss about all these new terms in further tutorials

Last updated on by vishal devxo