can you create interface instance ?
Answer Posted / swati
we can't create instance of an interface..
but we can create reference of interface, which can refer
to upcoming object of the class who implements that
interface..
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
what is the difference between the methods sleep() and wait()? : Java thread
What is int short for?
What is the inheritance?
What do you understand by garbage collection in Java? Can it be forced to run?
What is ascii format?
What are exception handling keywords in java?
List the different types of classloaders in java.
Variables used in a switch statement can be used with which datatypes?
How does a cookie work in Servlets?
What is the use of a copy constructor?
What is string syntax?
What variables are stored in stack?
Which class is the superclass for all the classes?
What is a control variable example?
When we should use serialization?