Given:
public class X {
}
and
public final class Y extends X {
}
What is the result of compiling these two classes?

And the code fragment:
Which situation will occur on code fragment execution?
Given:
Which two lines inserted in line 1 will allow this code to compile? (Choose two.)