can you create interface instance ?
Answer Posted / kcs
No, We cannot create an instance for interface. But we can
create a reference for an interface.
| Is This Answer Correct ? | 75 Yes | 17 No |
Post New Answer View All Answers
List some java keywords sun like c, c + + keywords?
Why a dead thread occurs?
What’s the difference between constructors and other methods?
How do you remove spaces in java?
How will you get the platform dependent values like line separator, path separator, etc., ?
What’s meant by anonymous class?
Is string an object?
What is a line separator in java?
What is multithreading in java?
How transient variable is different from volatile variable?
What will be the initial value of an object reference which is defined as an instance variable?
What is an array in java?
When parseint method can be used?
What are some examples of variable costs?
Explain the difference between static and dynamic binding in java?