Ruby - Inheritance
Find the error in this Ruby code:
class Fruit; end class Apple < Fruit; end puts Apple < "Fruit"
class Fruit; end class Apple < Fruit; end puts Apple < "Fruit"
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions