Quantcast
Channel: QuizMeUp - conversion
Browsing latest articles
Browse All 2 View Live

Does an automatic conversion apply for Interfac...

Multiple choice questionDoes an automatic conversion apply for Interfaces in Java? Given the following code: interface MyInterface { ... } class MyClass implements MyInterface { ... } MyInterface mi;...

View Article


Does an object of type class can be assigned to...

Multiple choice questionDoes an object of type class can be assigned to a variable of its sub-class type? What will be the result of the following code: class A { public static void main(String []...

View Article

Browsing latest articles
Browse All 2 View Live


Latest Images