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