CodeGym /Java Course /New Java Syntax /Additional lessons for Level

Additional lessons for Level

New Java Syntax
Level 9 , Lesson 8
Available

In this level, we touched on several new topics: what literals are, what escaping is, and why escape sequences came into existence. And also we continued to get to know classes. This time around our agenda featured the String class, as well as the nuances of working with strings. Before moving on, make sure you've got a solid understanding of all this.

Escaping characters

You'll gradually learn how to escape characters, even if it seems at present that there are too many rules. It doesn't hurt to read something extra on the topic. For example, there's this helpful article. You can also add it to your bookmarks and periodically take a peek until you no longer need it!


A lecture snippet with a mentor as part of the Codegym University course. Sign up for the full course.


9
Опрос
Working with strings,  9 уровень,  8 лекция
недоступен
Working with strings
Working with strings
Comments (5)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
Anonymous #11548397 Level 21, Germany, Germany
10 August 2024
bruh
Anonymous #11450946 Level 47, Nanjing, Hong Kong
5 February 2024
I'm afraid a character in a string could occupy 1 or 2 or 4 bytes rather than only 2or4. When a string is comprised of letters and numbers only, each char occupies 1 byte.
curi0usmind Level 11, Switzerland Expert
1 December 2024
UTF-16 data can have characters with 2 or 4 bytes.
Campbell, Jackson Level 12, Corona, USA
30 October 2023
5/10, light work no reaction
Campbell, Jackson Level 12, Corona, USA
30 October 2023