}

Sing Up

Java Tutorial e-Book In Hindi

Online e-Libreary C Language

Basic structure of Java program In Hindi

Import package;
Class classname
{
      Variable declaration ;
      Method
      main method
}

Example :

Import java.lang.*; //package import
class Hello //class creation
{
      Int i=10; //variable Discretion
      void Disp() //method
      {
           System.out.println(“Hello”);
      }
      public static void main(String args[]) //main method
      {
           Hello obj=new Helllo();
           Obj.Disp();
      }
}


Next Next