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
Tell me about your ability to work under pressure
Is java a virus?
What is the same as procedures?
How does java pattern compile work?
Why java is called not pure object oriented language?
How does multithreading take place on a computer with a single cpu?
What are the wrapped, classes?
What is the difference between import java.util.date and java .util?
Explain different types of wrapper classes in java?
Write a program in java to establish a connection between client and server?
Difference between operator overloading and function overloading
How to change the priority of thread or how to set the priority of thread?
What are inbuilt functions in java?
What methods are used to get and set the text label displayed by a button object?
How do generics work in java?