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 tostring () method?
What is the file extension for java?
What is the purpose of lambda expressions?
What is a jagged array in java?
What is a variable declaration?
What is a finally block? Is there a case when finally will not execute?
How many static init can you have?
What is java and why do we need it? Explain
What is boolean false?
What about interrupt() method of thread class ?
What is a locale?
How many decimal places is a double?
What is return used for in java?
how to run ecllipse with jettyserver for windows environment using batch file
Explain when we should make an instance variable private.