This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: o You must use the abstract keyword for the class o If a subclass does not implement all abstract methods of its parent(s), it is also abstract o It is common to have a mixture of concrete and abstract methods in an abstract class Abstract Classes and Methods in UML • Are denoted in italics • Shape + origin : Point; + area() : double • Since italics are difficult to hand write, an alternate form uses the <<abstract>> stereotype • <<abstract>> Shape...
View Full Document
- Fall '09
- abstract class Shape