Menu
Question Index
...

Which of the following is correct?

X: Java does not allow multiple inheritance using classes but it can be simulated using interfaces.
Y: Java compiler creates .class file for every class. Java file may contain 0 or more classes. It can also contain anonymous inner classes. Compiler creates a separate file for each class.


X only
Y only
Both are correct
Both are incorrect

Doubts

Problems

Topic: Java Interface

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App