Prev | Current Page 186 | Next

Carl Reynolds and Paul Tymann

"Schaum's Outline of Principles of Computer Science"

If the value of the variable assessedValue at the time the statement executes is greater that
200000, the logical operator ???>??? will return a value of true. Otherwise, it will return false.
We will discuss the other logical operators in the section on Java control structures. Remember, too, that
we have not discussed all Java operators. Java also has operators for testing and shifting bit values, conditional
statement execution, modulo arithmetic, and some other functions.
JAVA IDENTIFIERS
Every programming language has its rules for how to name elements of a program. In Java, names must
always begin with a letter. Letters in Java include all lowercase and uppercase letters, as well as the underscore
character ???_??? and the currency symbol ???$???.
After the first letter, any number of letters and/or digits may follow. A Java identifier may be of any length,
and it is good programming practice to use names long enough to be self-descriptive. More experienced
programmers generally use longer variable names, because longer names usually make programs much easier
to read and maintain.
Java is a ???case-sensitive??? language. That means that Java recognizes uppercase and lowercase letters as
different.


Pages:
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
wycieczki do Skandynawii traktorki ogrodowe skarpetki narciarskie męskie perfumy fm Szkoły policealne fryzjer w warszawie