can you create interface instance ?
Answer Posted / sushma
hi nishant,
whatever the explanation u have given is exactly right. we cant create an instance for interface. the instance created is for annonymous inner class and not of interface Test.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the two ways in which thread can be created?
What is string buffer?
What is the synonym of framework?
Is java a digit method?
Explain listiterator and methods in listiterator?
What is boolean query?
What do you mean by order of precedence and associativity?
Explain the pointers in Java?
Write a code to create a trigger to call a stored procedure
What is the diffrence between inner class and nested class?
What is a java list?
How do you declare an empty string?
What is your platform?s default character encoding and how to know this?
How to use string tokenizer class.
what are three ways in which a thread can enter the waiting state? : Java thread