Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

Explain how "abc".length returns 3

All string literals are an instance of scala.collection.immutable.StringOps
A subclass of java.lang.String is generated at runtime, adding the `length` method to its signature.
An implicit conversion converts the java.lang.String into a scala.collection.immutable.StringOps, which supports a length method.
All string literals can be processed by Scala String interpreter.
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon