📚 Practice Mode

Model 204 and Java Programming Quiz

Learn at your own pace with hints and detailed explanations

1 / 20
Multiple Choice

Class Y is a subclass of Class X.Will this compile? Y myY=new Y(); X myX=myY;

  1. No
  2. Compile Error
  3. Yes
  4. Runtime Error
  5. Not Sure