Can anybody can answer this question.
what is the difference between inheritance and mixin.
what is the use of mixin and what is the use of inheritance.
Inheritance is we are deriving the superclass.
for example,I did like this,
puts ‘a and b’
class C < A
The output should be like this,
a and b
I know very vell about the inheritance,but both the
cases we are using but Idon’t about the mixin and difference two