can you create interface instance ?
Answer Posted / anonymous
Hi Uday,
That's really nice however I think you have just created and anonymous class implementing the interface, and then invoking the wish method :)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is the difference between thread and runnable types? : Java thread
What are white spaces in java?
Why is string class considered immutable?
What is array pointers ?
Can we have more than one package statement in the source file?
What is string and example?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
Is final static java?
What is the abstraction?
What is maximum size of arraylist in java?
Why bytecode is called bytecode?
What are inbuilt functions?
State the significance of public, private, protected class?
How do you do descending order in java?
What are access specifiers available in java?