can you create interface instance ?
Answer Posted / arvind panwar
No, we can't create an instance of an interface but
reference variable can hold reference to object of its sub
class.
| Is This Answer Correct ? | 46 Yes | 13 No |
Post New Answer View All Answers
What are the parts of a method?
What is Session reduplication and how its done?
What is private public protected in java?
What is the file extension for java?
Differentiate between overriding and overloading cases?
When is the finally clause of a try-catch-finally statement executed?
What is the set interface in java programming?
What is the difference between JDBC 1.0 and JDBC 2.0?
What is subsequence of a string?
What is close method? How it's different from Finalize & Dispose?
What is ++ a in java?
What class allows you to read objects directly from a stream in java programming?
How to change the priority of thread or how to set the priority of thread?
What is dynamic binding(late binding)?
What is meant by JVM? Is JVM platform independent or not?