can you create interface instance ?
Answer Posted / sharath
we can create an object for interface but the there will be
of no use because interface methods are abstract in nature
i.e they doesn't have any implementation..
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What do you mean by inner class in java? Explain
What is complexity in java?
What is a stack class in java ?
Explain the usage of this with constructors?
Can constructor be static or final?
How can we find the sum of two linked lists using stack in java?
How to sort numbers in java without array?
What classes of exceptions may be caught by a catch clause in java programming?
Give an example of use of pointers in java class.
Explain the meaning of java applet.
What happens when a thread cannot acquire a lock on an object in java programming?
What is a map? What are the implementations of map?
What is a values collection view ?
What is a java predicate?
Is arraylist sorted in java?