can you create interface instance ?
Answer Posted / neeraj
if we implements a class with an Interface then it will
compile time error i.e U must give the body of a method in
your class , so it is an anonymous class.We cannot create
Instance of an Interface.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the significance of listiterator?
Difference between association, composition and aggregation?
what is the difference between a threads start() and run() methods? : Java thread
Is class is a data type?
What is the difference between the file and randomaccessfile classes?
What flag up means?
What defines function?
What is the purpose of abstract class?
What is difference between static and final?
What is tcp ip in java?
Why put method is idempotent?
Is main an identifier?
What is numel matlab?
How do I type unicode?
What are the 8 data types in java?