+ 1

What is the main purpose of interface in java why not use simply the multiple inheritance ?

14th Oct 2016, 10:37 AM
said thitah
said thitah - avatar
2 odpowiedzi
+ 2
An interface is just a fully abstract class, and multiple inheritance means inheriting from several classes at once. Those are two sepearte notions, and I don't see what you are getting at. Could you please reformulate your question?
14th Oct 2016, 12:43 PM
Zen
Zen - avatar
0
Your quesion was kind of pointless, every need you can use what is required in linguaguem you.
14th Oct 2016, 10:53 AM
Everton Carvalho
Everton Carvalho - avatar