Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, is anybody able to explain to me what the purpose of interfaces in JAVA is ( and abstract classes too on the side cause

Hello, is anybody able to explain to me what the purpose of interfaces in JAVA is ( and abstract classes too on the side cause I'm confused)? I understand that interfaces come into place because JAVA does not support multiple inheritance, but even so, the interfaces have methods that are undefined and I'm finding it difficult to wrap my head around how this helps give the impression of multiple inheritance. Sure, several classes can implement the same interface, but what's the big deal if the methods in there aren't even defined? I feel like I'm missing something. If you know an easier way to explain it or if you have any references I can refer to I'd like some help with those because I'm stuck in tutorial hell and none of the videos are really hitting home. Please and thank you.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Machine Performance Modeling Methodologies And Evaluation Strategies Lncs 257

Authors: Francesca Cesarini ,Silvio Salza

1st Edition

3540179429, 978-3540179429

More Books

Students also viewed these Databases questions

Question

5. Have you any experience with agile software development?

Answered: 1 week ago