public class Temployee {
public static void main(String[] args)
{
Employee an = new Employee("Asif", "18101073", "Account Manager", 15000f);
System.out.printf("Salary : %.2f\n", an.getSalary());
an.updateSalary(160000f);
an.display();
}
}
public static void main(String[] args)
{
Employee an = new Employee("Asif", "18101073", "Account Manager", 15000f);
System.out.printf("Salary : %.2f\n", an.getSalary());
an.updateSalary(160000f);
an.display();
}
}
Comments
Post a Comment