+ 11

Can u instantiate an Interface in Java?

For example: public interface MyInterface {} MyInterface interfaceObj = new MyInterface(); How possible is this?

16th Sep 2017, 5:13 PM
David Akhihiero
David Akhihiero - avatar
2 Respuestas
+ 10
I dnt understand, pls explain
16th Sep 2017, 5:20 PM
David Akhihiero
David Akhihiero - avatar
+ 8
Thanx
16th Sep 2017, 6:34 PM
David Akhihiero
David Akhihiero - avatar