Is it appropriate to have a data field of type A as a data field for type B (type B is inherited from type A)? : <p>If a user-defined class inherits from the Java's <code>ArrayList&lt;E&gt;</code> class, is it appropriate to have a data field of type <code>ArrayList&lt;E&gt;</code> as a data field? Explain why or why not.</p>
