I have  this content in slide 7

*

Example Package
*

● Suppose you write a group of classes that represent

graphic objects, such as circles, rectangles, lines, and

points

● You also write an interface, Draggable, that classes

implement if they can be dragged with the mouse

//in the Draggable.java file

public interface Draggable {}

//in the Graphic.java file

public abstract class Graphic {}

//in the Circle.java file

public class Circle extends Graphic implements Draggable {}

//in the Rectangle.java file

public class Rectangle extends Graphic implements Draggable { }

//in the Point.java file

public class Point extends Graphic implements Draggable {}

//in the Line.java file

public class Line extends Graphic implements Draggable


2010/8/17 Michèle Garoche <[email protected]>

>
>
> On Aug 17, 11:47 am, TheIrda <[email protected]> wrote:
> > Hi
> >
> > I think slide #7 on javase_createclass pdf is wrong. Seems more
> > related to implementation of interfaces than to packages honeslty...
> Do you mean the slide which title is Coding Guidelines?
> If yes, there is nothing wrong in it.
>
> If not please give the title of the slide if any.
>
> Michèle Garoche
>
> --
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]<javaprogrammingwithpassion%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/javaprogrammingwithpassion?hl=en
>

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to