Answer Posted / venkateswararao
No,we cant create an instance if an interface in java , but
we can create a reference of an interface and we can
assign the object of a class to that interface reference.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is prime number in java?
What is formatted output in java?
What is the benefit of abstract class?
What is the public method modifier?
What comes to mind when someone mentions a shallow copy in java?
Can we overload run() method in java?
What is thread life cycle?
Describe different states of a thread.
Does java support multiple inheritances?
Difference between Preemptive scheduling vs. Time slicing?
Can a final variable be null?
What is lambda programming?
What is anagram word?
What is the ==?
Which list does not allow duplicates in java?