Can we instantiate Interfaces?

Answer Posted / divya

You can only create a reference of an interface but cannot
instantiate.

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define jre i.e. Java runtime environment?

576


What are the characteristics of java?

529


What is the difference between dom and sax parser in java?

538


Is array a class?

523


What are the different conditional statements?

563






What are thread priorities and importance of thread priorities in java?

628


How do you remove duplicates from an array in java?

534


what is thread in Java ?

631


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

537


Tell me about your ability to work under pressure

1772


what do you understand by the term string with respect to java?

533


What is the use of callablestatement?

582


What is string literal in java?

557


What do you mean by order of precedence and associativity?

550


What is a generic type?

566