abstract class Shape{ · abstract void draw();; } · } · //In real scenario, implementation is provided by others i.e. unknown by end user · class Rectangle extends ...
確定! 回上一頁