in Ruby, an interface (mix-in) can provide not only method signatures (names and parameter lists), but also method code.
Posted: Sun May 15, 2022 8:21 am
in Ruby, an interface (mix-in) can provide not only
method signatures (names and parameter
lists), but also method code. (It can’t provide data
members; that would be multiple
inheritance.) Would this feature make sense in
Java? Explain.
Please State Answer concisely.
method signatures (names and parameter
lists), but also method code. (It can’t provide data
members; that would be multiple
inheritance.) Would this feature make sense in
Java? Explain.
Please State Answer concisely.