can you create interface instance ?
Answer Posted / uday
Hi Deepesh, uday is back again
Hey just see the question . can you create interface
instance?
just say the answer Yes or No?
my answer is Yes
how is it possible? Already i gave the example.I know that
this is anonymous inner class concept. But i don't want to
exceed this concept for too complex. that's why i did it in
this manner.Any How i thanks to all of you for more inputs.
but u can create the instance for interface. how can we
check an instance is,using instance of operator only. here
it proved hence the affrimative ans is right. i am not
plmbbing your knowledge it's just a kind of inquiry. Thanks
FYI huh!!!!
| Is This Answer Correct ? | 1 Yes | 12 No |
Post New Answer View All Answers
What are some examples of variable costs?
Explain the available thread states in a high-level?
What about instanceof operator in java?
What is arraylist e in java?
What are different type of exceptions in java?
Can we have more than one package statement in source file ?
Program to Find the second largest element in an array.
String class is defined under which package in java?
How do you use nextline in java?
Name few java.lang classes introduced with java 8 ?
Why inputstreamreader is used in java?
What is break and continue statement?
What is linked hashset and its features?
How does java pattern compile work?
List the different types of classloaders in java.