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 is bytecode verifier?

506


In Java list the methods that can be overridden?

575


What is the difference between break and continue statements?

549


Explain garbage collection in java?

549


What is the difference between a vector & an array list?

677






Can we synchronize static methods in java?

600


What is backdrop?

596


What is data string?

499


What interface is extended by awt event listeners?

595


How do I know if java is installed?

521


What is the purpose of an interface?

557


What is the difference between member variables initialization and assignment in a constructor?

667


What is the file extension for java?

614


Is empty set an element of empty set?

608


What does next mean in java?

540