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
What is the internal implementation of set in java?
What are static methods?
What does it mean that a method or field is “static”?
What is the meaning of flag day?
Is null in java?
How will you serialize a singleton class without violating singleton pattern?
Can one thread block the other thread?
does java support pointers?
How to solve the problem of generating the unique hash keys with hash function?
What is package private scope in java?
What is sorting algorithm in java?
How do I compare two strings in word in java?
When is finally block not called?
Explain about anonymous inner classes in java?
What is void data type?