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
What is method overriding in java ?
Define a package.
Can we declare register variable as global?
What are the main uses of java?
How do you remove duplicates from an array in java?
What is the use of isempty in java?
When the constructor of a class is invoked?
What is r in java?
Why pointers are not used in java?
What is an empty string in css?
Difference between Linked list and Queue?
What does nullpointerexception mean?
what is thread? : Java thread
Does java have extension methods?
Why stringbuilder is not thread safe in java?