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
Is empty set an element of empty set?
What is array and arraylist in java?
Explain the different forms of polymorphism?
What does localhost mean?
What is singleton service?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
What is the maximum size of arraylist in java?
How would overload a function based on return type?
Is arraylist sorted in java?
What is return keyword in java?
What is the right data type to represent a price in java?
What is the order of arraylist in java?
What is the use of private static?
What is += mean in java?
What occurs when an object is constructed?