Create a new project in Eclipse (File > New > JavaProject.) Name it Homework2Q1
2. Create a package for your classes
3. Create a class that “has” another class (Composition)
4. Both classes need to have private fields and appropriategetters and setters
5. Create a runner that: a. Sets the fields you specified instep 4 either via both a constructor and via setters b. Prints thefields in both classes c. Changes at least one field in each classand prints the new values
6. Be Creative! Avoid classes such as SoccerMatch, BankAccount,Fruits and Oranges.
Expert Answer
An answer will be send to you shortly. .
PayPal Gateway not configured
PayPal Gateway not configured