Java instance abstract class, which implements interface -
i have interface 2 methods , abstract class, implement interface , override 1 method it. can instance abstract class, without overriding other method of interface? or can replace method method have signature?
upd: answers, make mistakes in question. can use anonymus class extend abstract class, without overriding methods implements inrerface? how understand answer dragonk, no, , need create class, extends abstract class , override others methods?
can instance abstract class
you can never instantiate abstract class.
you implement methods of interface still won't able instantiate abstract class.
Comments
Post a Comment