can you create interface instance ?
Answer Posted / arvind panwar
No, we can't create an instance of an interface but
reference variable can hold reference to object of its sub
class.
| Is This Answer Correct ? | 46 Yes | 13 No |
Post New Answer View All Answers
How can we make string upper case or lower case?
What is oops in java?
What is the file extension for java?
Is there any case when finally will not be executed?
Difference between start() and run() method of thread class?
What is jit compiler in java?
What is difference between static and final?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
Can we make main() thread as daemon?
How is tree Mirroring implemented?
Is java type safe?
Is logger a singleton?
What is boolean keyword in java?
Lowest Common ancestor in a Binary Search Tree and Binary Tree.
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?