If you cast the object it would work.


((B)myA[1]).set_class_VariableB(1);


--- Update ---

Java Inheritance