Question: Find out the central class and implement the scenario. Keep it in mind that it Open-Closed principle. should obey the Problem 2. Consider the following

 Find out the central class and implement the scenario. Keep it

Find out the central class and implement the scenario. Keep it in mind that it Open-Closed principle. should obey the Problem 2. Consider the following class: public class Employee String name; Employee (String name) ( this.name name; public String getName() return name; Write a simple JUnit test for testing the "Constructor" and the "getName0)" method of the given Employee class. Remember to state whether the test should PASS or FAIL

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!