solve with java ?
:Create aclassnamed “Employee” having first name, last name, id and salary asattribute. There should be abehaviorto set the values of all attributes. Also, there should bebehaviorsto get the value of full name, salary, annual salary and id. There is anothermethodto raise salary which take percentage as input to increase the salary amount.
Create twoemployees(Fizal Haider) (Rahat Khan) who haveRs 10,000/-salary. Show theirfull name and their salaries. Thenincrease the salary of first employee(Fizal Haider) by10%, then show thecurrent salary and annual salaryof both employees.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here