Interviewer And Interviewee Guide

Java Software Engineer Interview Question:

Explain me why aren't you allowed to extend more than one class in Java but are allowed to implement multiple interfaces?

Submitted by: Muhammad
Extending classes may cause ambiguity problems. On the other hand, in terms of interfaces, the single method implementation in one class can serve more than one interfaces.
Submitted by: Muhammad

Read Online Java Software Engineer Job Interview Questions And Answers
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.