The following variable myObj is declared as type GeneralCase and assigned an instance of a subclass of GeneralCase called SpecificCase. Both contain implementations of a method called total().
GeneralCase myObj = new SpecificCase();
If myObj is used to call total() which version gets called?
There are no hints for this question