Which is true?

Question:
Which is true?

1."X extends Y" is correct for all combinations of X and Y being classes and/or interfaces

2."X extends Y" is correct if X and Y are either both classes or both interfaces

3."X extends Y" is correct if and only if X is a class and Y is an interface

4."X extends Y" is correct if and only if X is an interface and Y is a class

Posted Date:-2021-10-25 05:37:20


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!