Java

What Is Java?

What Is Java?

Java is an object oriented programming language (OOPs). It is used to develop secure software for worl wide web (www). It is internet queen.

class A{

public static void main(String args[]){

System.out.println(“This is my first program in java”);

}

}

Note : Java program must be start with a class, class start with the keyword “class”, and class name must be start with a upper alfbet. When we run java program compilor first search main() function.

Java has 4 piller

  1. Abstraction
  2. Inheritance
  3. Encapsulation
  4. Polymorphism

Leave a Reply

Your email address will not be published. Required fields are marked *