Answer Posted / jyotisubhra ghosh
You can not instantiate an interface,however, u can create
its reference variabe.
You can just assign an object of a class (implementing the
interface) to the reference variable of the interface.
| Is This Answer Correct ? | 50 Yes | 1 No |
Post New Answer View All Answers
Explain a situation where finally block will not be executed?
What makes a function well defined?
What is the purpose class.forname method?
What are wrapped classes in java programming?
What is final access modifier in java?
What are the wrapped, classes?
What is an arraylist in java?
What is hashmap in java?
What is compareto?
What is jit compiler ?
What is file in java?
What is role of void keyword in declaring functions?
Explain about static imports in java?
How to handle a web browser resize operation?
What is java object name?