can you create interface instance ?
Answer Posted / joginder singh
uday,,,dude where have u used or created an instance of
interface test,,,what u are doing is using a anonymous
inner class and den calling the method using instance of
that class....
dat wasnt d ques...
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is bubble sorting in java?
When should we create our own custom exception classes?
What is json parser in java?
How do you check if two strings are equal in java?
What is singleton class example?
What variables are stored in stack?
How can we pass argument to a function by reference instead of pass by value?
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
Explain about the performance aspects of core java?
What is string [] args?
What is append in java?
Can we instantiate interface in java?
How do you check if two given string are anagrams?
how we can create packages in java?
What is difference between printf and scanf?