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 general methodology?
Can abstract class have private constructor?
Explain 5 features introduced in jdk 1.7?
How do you know if a value is nan?
Is an empty arraylist null?
Explain serialization and deserialization in java?
Can each java object keep track of all the threads that want to exclusively access it?
Can java run on google chrome?
What is meant by method overriding?
What are three advantages of using functions?
When will you define a method as static?
If goto and const is reserve words than why it is not work in java?
In java, what is the difference between method overloading and method overriding?
What is a stringbuffer?
Does java arraylist maintain insertion order?