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
Can a final method be overloaded?
What is the size of boolean variable?
What Is Query Throttling in java?
Is list thread safe in java?
State two differences between C and Java.
Why do we need variables?
what is meant wrapper classes?
Why java is call by value?
How many types of methods are there in java?
Is hashmap thread safe?
What are different types of multitasking?
What is currentthread()?
What is join () in java?
What is __ init __ functions?
What is arrays fill in java?