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 is java util?
Can we have this () and super () together?
What are white spaces in java?
What are different types of classloaders?
Why is stringbuffer faster than string?
How many bits is size_t?
Write a program in java to create a doubly linked list containing n nodes.
What is entry in java?
What is parsing a sentence?
What is meant by main method?
Why use string handling in Java?
What does flag mean in java?
What is use of set in java?
What are different types of states exist for a thread?
What are the three parts of a lambda expression?