This with methods

Example


class student{
	int id;
	String name;
			
	void display(){
	    System.out.println("Hello Geeks");
	}		 
			
	void show(int id,String name){
	   this.display();                        //this used with methods
	                                          //it refers display methods inside show method 
	   System.out.println(id+" "+name);
	} 
			   
	public static void main(String args[]){
	    student s=new student();
	    s.show(123,"max");
	}
}
				
				
	
          

output:
Hello Geeks                     //Initially it calls defualt method due to this
123 max                         //then it will display values of parametrized method
          

Address

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