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
Why java is secure? Explain.
Explain some best practices you would apply while using collection in java?
Can you explain the meaning of aggregation and composition
What is serialversionuid?
What is string data type?
What is method with example?
How many bits is a char?
How do you reverse a string in java without using string buffer?
Can singleton class be cloned?
What do you know about the garbate collector?
What are the object and class classes used for?
How to stop a thread in java? Explain about sleep () method in a thread?
What is method in java ?
What is a numeric string?
What is meant by call by reference?