sentence: some other languages , such as c# or java , accomplish something similar ( although more limited ) by allowing inheritance of multiple interfaces while restricting the number of base classes to one ( interfaces , unlike classes , provide only declarations of member functions , no implementation or member data ) .