Multiple choice technology programming languages Class Y is a subclass of Class X.Will this compile? Y myY=new Y(); X myX=myY; No Compile Error Yes Runtime Error Not Sure Reveal answer Fill a bubble to check yourself C Correct answer Explanation Since Class Y is a subclass of Class X, an instance of Y can be implicitly upcast to a reference of type X. This is a fundamental polymorphic assignment in Java and compiles successfully.