Q:

Which of the following is not used to create a string in Scala?

0

Which of the following is not used to create a string in Scala?


  1. var greeting = \"Hello world!\";
  2. var greeting:String = \"Hello world!\";
  3. Both A and B
  4. None of the above

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

None of the above

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

In Scala, ___ method returns the number of charact... >>
<< Select the correct statements from the following:...