+ 1
You would be unable to directly. You'll need to create a class that extends the abstract class and then instantiate that class in the main class and call the method with the object. Example, SecondClass extends GraphicsClass. Inherits a draw method. In main, you'll do SecondClass sc = new SecondClass(); sc.draw();
10th Jul 2016, 12:38 PM
James
James - avatar