Title: Chapter Five
1Jeopardy
2boolean
Expressions
Strings
More Strings
100
100
100
100
200
200
200
200
300
300
300
300
400
400
400
400
500
500
500
500
3What is 1?
This value of true
4What is ?
Use this to test if two ints are the same
5What is .length()?
Method to find the number of characters in a
String
6What is .equals?
Method to test if Strings are the same
7What is .length()?
Method to find size of String
8What is true?
if( true false) evaluates to ?
9What is Math.abs(x1 x2) lt epislon?
Used to compare two doubles to be the same
10What is toUpper())?
String method to capitalize a String
11What is .charAt()?
Method to find a single character in a String
12What is false?
if( true false) evaluates to ?
13What is .equals?
Used to determine if two objects are the same
14What is immutable?
Programmers say Strings do not change ---
they are ?
15What is .substring()?
Method to break Strings apart
16What is ! ?
Notation to switch false to true
17What is (and) ?
Connects two if statements where both must be
true to execute a statement
18What is String str?
Statement to identify a variable With a (String)
type
19What is String str new String()?
Formal wording to create a String str
20What is deMorgans Law?
!( x y) becomes (!x !y)
21What is (or)?
Connects two if statements where both must be
false to NOT execute a statement
22What is compareTo() ?
String method that returns 0, or less than 0, or
greater than 0