00:01
Hello, welcome to this lesson.
00:02
In this lesson we have the employee class which we are using the uml to create.
00:08
So here we have the employee name, the employee's name, employee number employee salary.
00:17
We are creating the empty constructor.
00:20
So a constructor with no parameter.
00:25
After that we are creating the other constructor where we pass in order.
00:33
We pass an order we need so we have the string and the string s and which is so one thing that we can do is that because we have string and an employee name employee name we can choose to ignore this okay but just to be sure we are talking about or referring to the employee name we are still going to maintain it all right so so we have the screen.
01:12
Then here we come to the set test.
01:15
So here we set the point metast where we set in the employee name, the sign name.
01:27
Okay.
01:28
We set in the salary, which is a double.
01:32
Then we come to the increase salary.
01:34
So here, now for the increase salary, last we have this employee.
01:45
Salary then now we want to increase it by 60 % so it would be the employee salary the original salary that they had plus 60 % of the 60 % of the same amount the use to take okay so this is 60 % that is 60 over 100 then we multiply it by the employee salary so this new increment is what has constituted the salary the percentage increment so instead of having a hard -coded value like 60 or whatever less that the user input so that we divided by 100 we multiple employees salary and now we have all they get us so get name gets serename, get employee number, get slovy.
02:55
Then here we converted to strength.
03:01
So here, converting all of them using the string template.
03:06
All right.
03:08
So after we are done with us, we come to the main class where we would have two employees.
03:17
So here we have employee number one, e1.
03:32
Now make it new employee.
03:36
So this one i'll use it.
03:39
The empty constructor to get values for it.
03:43
So e1.
03:45
Now go set name...