[2pts EXTRA CREDIT] Write a main method for SoftwareEngineer…

[2pts EXTRA CREDIT] Write a main method for SoftwareEngineer. First, create one software engineer with $25000 and a salary of $50/hr, and another one with $40000 and a salary of $65/hr (for both, any name, company, and project are valid as long as they are different for the two software engineers). Then, the first worker should switch to another company and receive a salary increase of $10/hr. Then, both workers should work. Finally, print the String representation of both workers to the console (each on its own line), in the order stated above. You must use the two different constructors from SoftwareEngineer to create the instances.

Fill in the blanks so that randomValue has a random integer…

Fill in the blanks so that randomValue has a random integer value between 5 and 75, both ends inclusive. int randomValue = ______1______ (______2______.random() * ______3______) + ______4______; Use this template for your answer (please type fully – you cannot copy): 1: [answer in blank 1] 2: [answer in blank 2] 3: [answer in blank 3] 4: [answer in blank 4]

Write a constructor for Worker. The constructor will take th…

Write a constructor for Worker. The constructor will take the name, money, company, and salary, and set all instance variables appropriately. The constructor should also update the numberOfWorkers variable to indicate that there’s a new worker. Note: even though the class is abstract, this doesn’t affect anything on the constructor. You can treat the class as any concrete class in this particular question.

Write a concrete method with protected visibility for Worker…

Write a concrete method with protected visibility for Worker called earnMoney. It receives an int (increment), which indicates how much money a worker’s money will be increased by. If the parameter is positive, the worker’s money will be adjusted accordingly, otherwise, it should do nothing.