Ruby - Basics and Runtime
Identify the error in this Ruby code:
value = 10 puts value.class()
value = 10 puts value.class()
class with or without parentheses is valid syntax.value (which is Integer) without any error.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions