Add to Chrome
β The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the primary purpose of using interfaces in Java?
Β To avoid runtime errors.
To allow a class to inherit from multiple classes.
To provide a mechanism for multiple inheritance.
To define a contract that implementing classes must fulfill.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!