Final apply on methods:

company.java

class company{
	int employeeid;
    String employeename;

	final  void  userprofile(int id,String name){
	    System.out.println("Id of Employee "+id+" "+"Name of Employee "+name){
	}
}
          

class Employee{
    int employeeid;
    String employeename;
	   
    void  userprofile(int id,String name){
      System.out.println("Id of Employee "+id+" "+"Name of Employee "+name){
	}
		
	public static void main(String args[]){
	   Employee e=new Employee();
	   e.userprofile(101,"bhanu");
	}
}

          

output:
compile time error// final method is not override
          

Address

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