can you create interface instance ?
Answer Posted / kcs
No, We cannot create an instance for interface. But we can
create a reference for an interface.
Is This Answer Correct ? | 75 Yes | 17 No |
Post New Answer View All Answers
When should the method invokelater() be used?
What are the 8 primitive data types in java?
Explain the usage of this with constructors?
Can we have more than one package statement in source file ?
What does sprintf return?
What are the four integer types supported by java?
Name few "optional" classes introduced with java 8 ?
Explain about public and private access specifiers?
Why hashset is used in java?
What is locale in java?
Define the term string pool?
Can we have this () and super () together?
What is the difference between synchronized and synchronized block?
What about features of local inner class?
What happens if we override private method?