Package:

Package is just like folder of windows or linux OS.
In Package,we kept similar type of file just like your movie folder,music folder.
Here we are kept same type of file as per project so it is easily managed.

Syntax

		  
   package package_name.*;
      OR
   package package_name.file_name;
   
          

Compile and run java package:

  
 compiler syntax Syntax:
      javac -d . filename.java
 run  syntax: 
      java packagename.filename
 
          

 
package geek;		  
class demo{
	 
    void show(int id,String name){
	   System.out.println(id+" "+name);
	   }
  public static void main(String args[]){
       demo d=new demo();
	   d.show(12,"bhanu");
	   }
 }
 
 
          

Compile and run:

 
compiled by: javac -d demo.java
run by:      java geek.demo
 
          

OUTPUT:		  
12 bhanu
 
         

Address

Plot number-56/1
Near Gurudwara
LandMark :
Opposite A.N.D college
Govindpuri Metro station
New Delhi
Mobile number:
8826034620