Question: Given defined abstract class, goodForm, briefly explain the difference between class 1 and class 2 . a ) When & why is class 1 preferred

Given defined abstract class, goodForm, briefly explain the difference between class1 and class2.a) When & why is class1 preferred over class2?
b) When & why is class1 Q preferred over class2? public class1: goodForm{...}
public class2{ private goodForm obj; ...}

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!