L


labeled statements, flow control, 342–344

Language Code, ISO 639, 466

legacy code, generic types and, 571, 575

legal identifiers, 5

"legal vs. appropriate," 380

length attribute, arrays, 423

length(), String class methods, 422

<= (less than or equal to), 279

LinkedHashMap, Map interface, 544

LinkedHashSet, Set interface, 543

LinkedList, List interface, 542

List interface

ArrayList, 542

in Collections Framework, 537–538

converting arrays to lists and lists to arrays, 559

LinkedList, 542

methods, 569–570

overview, 541–542

toArray(), 559

Vector, 542

working with lists, 560–561

listener method, JavaBeans naming rules, 9

lists, collection. See List interface

literals, 176–180

assigning laterals that are too large for the variable, 186–187

boolean, 179

casting, 255

character, 179–180

decimal, 176

floating-point, 178–179

hexadecimal, 178

integer, 176

octal, 177

string, 180

local arrays, 200

local classes, 644–646

local object references, 199–200

local primitives, 197–199

local variables

declaring, 53–55

not using with access modifiers, 38–39

in stack memory, 174

two-minute drill, 71

variable scope and, 191

Locale class

defined, 458

instance creation, 471

overview, 466–469

locks

synchronizing code and, 707–709

threads, 711–712

logical operators (&, |, ^, !, &&., and | |)

AND/OR, 296–297

bitwise operators, 293

boolean invert (!), 297–298

overview, 293

short-circuit logical operators, 294–296

two-minute drill, 300

XOR (^), 297

loops

break and continue and, 340–341

do, 332–333

for. See for loops

initializing elements in, 215

labeled statements and, 342–344

overview, 331

two-minute drill, 386

while, 331–332

loose coupling, in OO design, 148




SCJP Sun Certified Programmer for Java 5 Study Guide Exam 310-055
SCJP Sun Certified Programmer for Java 5 Study Guide (Exam 310-055) (Certification Press)
ISBN: 0072253606
EAN: 2147483647
Year: 2006
Pages: 131

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net