99色精品-9色在线-99色在线-99色视频 国产欧美日产一区二区三区_亚洲精品亚洲人成在线观看_四虎在线精品永久观看_免费一级a一片久久精

單項選擇題

public abstract class Shape { 
int x; 
int y; 
public abstract void draw(); 
public void setAnchor(int x, int y) { 
this.x = x; 
this.y = y; 
} 
} 
and a class Circle that extends and fully implements the Shape class. Which is correct?() 

A. Shape s = new Shape(); s.setAnchor(10,10); s.draw();
B. Circle c = new Shape(); c.setAnchor(10,10); c.draw();
C. Shape s = new Circle(); s.setAnchor(10,10); s.draw();
D. Shape s = new Circle(); s->setAnchor(10,10); s->draw();
E. Circle c = new Circle(); c.Shape.setAnchor(10,10); c.Shape.draw();

微信掃碼免費搜題