6. Execute the class that has the first parameter
name and pass the other parameters.
If you’ll get an Runtime Exception,
catch it and show the message of it.
Step-1,2
Step-1 6 / 49
7. President
Represent a president
Execute Employee
factory :
factory
Employee :
employee
Note: This class can be executed without
instantiate.
Step-1 7 / 49
18. President
Represent a president
Execute
Employee
factory :
factory
Employee :
employee
Note: This class can be executed without
instantiate.
Step-2 18 / 49