i have an abstarct clas called X which declare various methods now it is subclassed say Y is the subclass I want to call the methods in Y inside main() method i will not use any other class for that matter
how is it done
posted 11 years ago
Create an instance of Y and call the methods. Unless I'm missing something subtle, this is not really an advanced question.