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
What are abstract methods in java?
Difference between a process and a program?
Is main a function?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread
What is functional interface in java example?
How do you check if a number is a perfect square?
What are the 5 types of research methods?
What is thread pool? How can we create thread pool in java?
What are the basic interfaces of java collections framework?
What is qms certification?
Does constructor be static?
What is the difference between compare and compareto in java?
Describe the syntax of multiple inheritance? When do we use such an inheritance?
what is meant by Byte code concept in Java?
What will happen to the exception object after exception handling?