CSE 8A Chapter Notes - Chapter 12.1-12.2: Substring, Tab Key, Latin Alphabet

50 views2 pages

Document Summary

Computers are unimedia only understand 0s and 1s: can use computers for multimedia since anything can be encoded into these 0s and 1s. Can map sounds to texts texts to pictures creates visualizations of sounds. Web pages are built of texts texts are in hypertext markup language (html) Strings in java are objects of the string class. Use (cid:862)(cid:863) to indicate start and end of a string: to use quotes in it, use \ in front of (cid:862)(cid:863) Strings contain sequence of characters (like an array of char: get specific character from string with . charat(index); Use . length() to get length of string. Unicode two bytes used for each character 65,536 possible combos. Lots of combos able to represent things other than latin alphabet: backslash escapes: ways to use special characters. \b backspace (appears as a box on most systems) \uxxxx xxxx made of of 0-9 and a-f (hexadecimals) represents unicode. Returns positive if this. object > o: substring(int n, int m)

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents