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


Please Help Members By Posting Answers For Below Questions

What are abstract methods in java?

893


Difference between a process and a program?

830


Is main a function?

720


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

764


What is functional interface in java example?

773


How do you check if a number is a perfect square?

759


What are the 5 types of research methods?

873


What is thread pool? How can we create thread pool in java?

843


What are the basic interfaces of java collections framework?

849


What is qms certification?

728


Does constructor be static?

789


What is the difference between compare and compareto in java?

724


Describe the syntax of multiple inheritance? When do we use such an inheritance?

840


what is meant by Byte code concept in Java?

802


What will happen to the exception object after exception handling?

799