Class implementing interfaces | Sololearn: Learn to code for FREE!


Class implementing interfaces

A cass implementing interfaces can have their own function, and variables? independent from interfaces?

11/9/2016 1:01:52 PM

Benedek Máté Tóth

3 Answers

New Answer


Yes. It can have whatever any other class can, as long as it defines any methods that the interface expects.


Yes. Interface is like a template and you can enhance the template by adding properties, methods, etc in a derived class.