Features of java

👉FEATURE OF JAVA LANGUAGE

  1. Object oriented programming language:

  • Java does not support object oriented completely .
  • Java is based on Oops.
  • Structure of java based of Oops but java is not purely Object oriented.
                 Primitive           +          Object        ------------------>   Wrapper classes
                data  types  

     

   2. Platform Independent:

  •  For Dynamic website java compiled code run in Multiple Operating code so java is platform independent.

   3. free Ware:

  • There is no need to purchase any license to install to java in our machine.

   4.Open source:

  • To make java all code write is source code is openly available for community people.

   5.Secure:

  • Java is much secure by previous language like C, C++, Visual basic
  • Java is more secure then other language then they are use in Intreprise Application, Banking, E-Commerce.
  • Java does not directly interact with operating System so java is much Secure.


   6.portable:

  • java is portable language because there code transfer  in any system all Operating System compile the code easily.


Object oriented paradigm: -----------------------------------------------------------------------

Object oriented programming requires a paradigm shift for the traditional programmers. Traditional programmers use to look at the problems and broadly divide the solution into three steps:
  1. Input data given
  2. Output result required.
  3. Methods, procedures and steps required to calculate the resulting value from the input value.
Object oriented paradigm calls for Visualising  the problem and the solutions as a real world object
"An  object is a software bundle of related state and behavior. software objects are often used to model the real world objects that you find in everyday life."

          " A Class is a blue print or prototype from which object are created."


 

 

 

Java Hello World Program

public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}
    

Comments

Popular Posts