Page 1 of 1

About Question enthuware.ocajp.i.v8.2.1306 :

Posted: Mon Dec 04, 2017 8:56 am
by Rinkesh
So it means that when a class implements a interface, it only gets the methods of interface and not the data within an interface contrast to A subclass which gets a Superclass data? Is it right?

Re: About Question enthuware.ocajp.i.v8.2.1306 :

Posted: Mon Dec 04, 2017 9:30 am
by admin
Well, there is no data in an interface, so the question of inheriting data from an interface does not arise.