can you create interface instance ?
Answer Posted / ravi jain
In my point of view Uday is wrong..
In his code he creates a anonymous class that implements Test
interface.
so, we can't say this is an object of interface.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is method and methodology?
What is r in java?
What is array pointers ?
Explain an intermediate language?
How do you implement polymorphism in our day to day life?
What is natural ordering in java?
What is Gang of four design patterns
How do you write a good declaration?
Is java free for businesses?
What is the core java?
Explain restrictions on using enum?
Is java an ide?
What are the properties of thread?
Describe how to implement singleton design pattern in struts.
How do you create a reference in java?