您的位置:寻梦网首页编程乐园Java天地Core JavaJava Lecture Notes

Introduction

Content

Apply

Reflect

Extend

previous.gif
 (3087 bytes)

next.gif
 (2959 bytes)

 

Apply Index

Apply Page # 6

Exercise 3 — Java-to-UML A

Draw a UML diagram to show the relationships between classes expressed in the following Java outline:

class Moveable
  {
  // methods that define the class Moveable
  }
class Shape extends Moveable
  {
  // methods thdefine the class Shape, that are not 
  // included in class Moveable
  }
class Circle extends Shape 
  {
  // methods that define the class Circle, that are not 
  // included in class Moveable or class Shape
  }

Discussion of Exercise 3
Back to content

Back to top

  basicline.gif (169 bytes)

RITSEC - Global Campus
Copyright ?1999 RITSEC- Middlesex University. All rights reserved.
webmaster@globalcampus.com.eg