Question: Abstract classes and interfaces are very similar. One difference is that: a) Abstract classes can have constructors b) Interfaces can contain state c) Interfaces can

 Abstract classes and interfaces are very similar. One difference is that:

Abstract classes and interfaces are very similar. One difference is that: a) Abstract classes can have constructors b) Interfaces can contain state c) Interfaces can be instantiated d) Abstract classes cannot have static methods e) None of the above We talked about design patterns and anti-patterns in class. Two anti-patterns are: a) Overlooking parent behaviour & Analysis paralysis b) Fear of subclassing & Analysis paralysis c) Fear of subclassing & Overlooking parent behavior d) Fear of adding classes & Under-analysis e) None of the above In class, we discussed how a Car class could be composed of, in part, classes like CarEngine and CarMuffler. Use of such classes were an example of: a) Composition b) Decoration c) Multiplicity d) Aggregation e) None of the above In class, we discussed how a Zoo class could be composed of, in part, classes like Zebra and Giraffe. Use of such classes were an example of: f) Composition g) Decoration h) Multiplicity i) Aggregation j) None of the above Sequence case diagrams a) Describe the order in which classes and actors interact with each other b) Describe class attributes, operations, and how classes relate to each other c) Describe the state transformations made between object instances d) Describe what functionality is needed by actors that interact with the system e) All of the above

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!