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
which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?
How does queue work in java?
Can a constructor be private and how are this() and super() method used with constructor?
Is java based on c?
What are the 4 types of characters?
What best practices should you follow while writing multithreaded code in java?
Is Constructor possible in abstract class in java ?
What is OOP's Terms with explanation?
what is the significance of listiterator in java?
How many tetrahedral voids are there in bcc?
What are the access modifiers in java?
Which is better ascii or unicode?
What is the use of a copy constructor?
What is better - 'bit-shift a value' or 'multiply by 2'?
Is main is a keyword?