can you create interface instance ?

Answer Posted / arvind panwar

No, we can't create an instance of an interface but
reference variable can hold reference to object of its sub
class.

Is This Answer Correct ?    46 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is 0 a real number?

590


What is java util list?

489


Can string be considered as a keyword?

572


Explain with example the concept of constant variable in java.

633


Is a class subclass of itself?

604






What are basic keywords?

559


Why super is first line in java?

562


What is the use of protected in java?

536


What is adapter in java?

519


What is variable in java?

524


What does string [] args mean?

543


What is the final class modifier?

561


What is return data type?

561


When should I use stringbuffer?

571


What is null object in java?

572