Page 1 of 1

please help i am stuck

Posted: Fri May 20, 2022 11:25 am
by answerhappygod
please help i am stuck
Please Help I Am Stuck 1
Please Help I Am Stuck 1 (52.43 KiB) Viewed 23 times
2. Suppose XX is an abstract class, YY is a concrete subclass of XX, and both XX and Y have a default constructor. Which of the following is correct? a) XX x = new XX(); b) xx x = new YY(); c) YY y = new XX(); d) Both a) and b) e) All of the above f) None of the above 3. Which of the following is a valid declaration? a) public final abstract class Test{ } b) public final interface Test{ } c) public final class Test{} d) Both a) and b) e) All of the above f) None of the above