Aa

Text size

?

Map / Using Objects

🧰 Using Objects

Strings are objects with methods you call with a dot. Math gives ready-made calculations, and Integer turns text into numbers.

  • new
  • length()
  • substring()
  • indexOf()
  • charAt()
  • equals()
  • Math.pow()
  • Math.sqrt()
  • Integer.parseInt()
  • null

🛠 You will build: A name and text formatter

0 / 10 done

  1. 🔮 Predict 1. String methods
  2. 👣 Trace 2. Pieces of a name
  3. 🔮 Predict 3. Math methods
  4. 🔮 Predict 4. == or equals?
  5. 🧩 Order 5. Text to numbers
  6. ✏️ Fill in 6. Shout and whisper
  7. 🐞 Debug 7. Method or field?
  8. 🐞 Debug 8. Off the end of the String
  9. ⌨️ Write 9. Initials
  10. ⌨️ Write 10. Distance between points

Unit check

Earlier activities again, with new inputs and edge cases. They also come back on the map as review the next day.

  1. 🔮 Predict Check 1. Check: positions again
  2. ⌨️ Write Check 2. Check: initials from one name