The following variable myObj is declared as type GeneralCase and assigned an instance of a subclass of GeneralCase called SpecificCase:


GeneralCase myObj = new SpecificCase();
 
 

Can myObj be used to call a method that is defined for SpecificCase but not GeneralCase

No
  • Yes

There are no hints for this question