下面哪份代码(Java)最接近对Segment的描述
A.
public class Segment implements Graphics { privatc void Draw(); public Point ptStart ; public Point ptEnd ; }
B.
public class Segment extends Graphics { public void Draw(); private Point ptStart ; private Point ptEnd ; }
C.
public class Segment implements Graphics { private Point ptStart ; private Point ptEnd ; public void Draw(); }
D.
public class segment implements graphics { public void Draw(); private Point ptStart ; private Point ptEnd ; }