trait Color {
val thickness:Int=100;
def beautify() {
println(“lets add red color and some sparkles!”)
}
}
class BirthdayCelebration extends Color {
}
class Selection {}
class Potluck extends Selection with Color
{}
trait Color {
val thickness:Int=100;
def beautify() {
println(“lets add red color and some sparkles!”)
}
}
class BirthdayCelebration extends Color {
}
class Selection {}
class Potluck extends Selection with Color
{}