I have a super-class:
And a sub-class which inherits from my super-class:
And finally, a 3rd class:
1) How comes myText equals "mySuperClass"? Surely it should run the mySubClass.run() method instead of the mySuperClass.run() method?
2) Is there any way to make it so that the super-class can never be instantiated (I know interface and abstract isn't supported)?
I appear to have solved this myself.
answered Apr 23 '10 at 12:19 AM