You are viewing a single comment's thread. Return to all comments →
class Arithmetic { public int add(int x,int y){ int z=x+y; return z; } } class Adder extends Arithmetic{ }
Seems like cookies are disabled on this browser, please enable them to open this website
Java Inheritance II
You are viewing a single comment's thread. Return to all comments →
class Arithmetic { public int add(int x,int y){ int z=x+y; return z; } } class Adder extends Arithmetic{ }