Unit 6: Objects and Strings
Home
Units
Hardware, Software, History, Memory, Linux, Conversion
Printing, Format, Compiling, Documentation, Design
IO, Math, Testing
Methods & Classes
If-Else & Inheritance
Ethics, Loops, Recursion
Final Exam Review - Semester 1
Objects & Strings
1-D Arrays & File I/O
Graphics, Images, Frames, Mouse, Focus, and Key Events
Components, Layouts, User Interface Design
Game Design
Final Exam Review - Semesters 1 & 2
References
Linux Primer
Eck Java Textbook
Java SE 5.0 API
Internal
External
Intro to Linux
Java Methods A & AB
Course
Java "Greensheet"
Java Lab Rubric
Home Setup
PC Users
Mac Users
Unit 6: Objects and Strings
Reading Questions:
Object References & Strings (both readings)
Reading:
Object References
Examples:
Assigning And Then Reassigning A String
Assigning Two Strings
Two Strings Referencing The Same Object (Aliases)
Two Strings With The Same Characters But Different Addresses
Using The equals() Method On Two Strings
Setting An Object To null
Reading:
String Class
Examples:
Declaring And Printing Strings
Concatenating Strings
Redeclaring Strings
Using The Methods length(), charAt(), and indexOf()
The Methods toLowerCase(), toUpperCase(), trim(), and substring()
The Methods equals(), equalsIgnoreCase(), and compareTo()
Finding Index Values Where A Word Appears In A Predefined String
Breaking A Sentence Up Into Words
Practice Tests and Quizzes:
Old Object Reference Whisper Quiz
Practice Quiz (Strings & Object Reference)
Practice Test A (Strings, I/O, Switch)
Practice Test B (2014-15: Strings & Object Reference)
Practice Test C (Strings, Switch)
Practice Test D (Strings, Loops, Switch, Obj Ref)
Encrypt.java Prompt
Monta Vista SchoolLoop Site