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
Tell some latest versions in JAVA related areas?
How many bits is a char?
What is the difference between instanceof and isinstance?
What is the java reflection api? Why it’s so important to have?
State the significance of public, private, protected class?
What are generic methods?
Explain creating threads by implementing runnable class?
What is wrapper class html?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
Can we have any other return type than void for main method?
What is a condition in java?
What is the lifetime and scope of a variable?
What is a percentage sign called?
Can we split string with in java?