public void dispdata() {
   super.dispdata();
   System.out.println("Salary : " + salary);
 }
 public void enterdata() {
   super.enterdata();
   Scanner s = new Scanner(System.in);
   System.out.println("Enter the salary : ");
   salary = s.nextFloat();
 }