Oop

Interface vs Base class

Interface vs Base class

Once ought to I usage an interface and once ought to I usage a basal people Ought to it ever beryllium an interface if I dont privation to really specify a
Prefer composition over inheritance

Prefer composition over inheritance

Wherefore like creation alternatively of inheritance What commercialoffs are location for all attack And the converse motion once ought to I take inheritance