can you create interface instance ?

Answer Posted / swati

we can't create instance of an interface..
but we can create reference of interface, which can refer
to upcoming object of the class who implements that
interface..

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is alive and join method in java?

772


Differentiate between overriding and overloading cases?

798


What is method reference in java?

820


whatis Home interface and Remoteinterface? with example?

1765


How will you communicate between two applets?

862


What is stream api in java8?

776


What does it mean that strings are immutable?

868


What is :: operator in java 8?

796


Is array synchronized in java?

802


How is it possible in java programming for two string objects with identical values not to be equal under the == operator?

775


How do you do exponents in java?

769


How many decimal digits is 64 bit?

717


which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com

3423


Why is flag used in java?

759


Can there be an abstract method without an abstract class?

731