what is main purpose of interface?
Answer Posted / javachi
The purpose of interface is to create the relationship between the parties involved. parties is nothing but a set of classes relates with each other. this is required when the sub class inherits the property of two or more superclasses(multiple inheritance)
| Is This Answer Correct ? | 7 Yes | 8 No |
Post New Answer View All Answers
How a variable is stored in memory?
what is the significance of listiterator in java?
How are variables stored in memory?
What do the thread?class methods run() and start() do?
Why char array is preferred over string for storing password?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
Is java 11 paid version?
What is meant by oops concept in java?
What is local class in java?
Does java set allow duplicates?
Why is string builder not thread safe?
What is nextline method in java?
What is method reference in java?
What does int argc char * argv [] mean?
What is the difference between an if statement and a switch statement?