SCJP Sun certified programmer for Java 5 study guide: exam (310-055)
Gespeichert in:
Beteiligte Personen: | , |
---|---|
Format: | Buch |
Sprache: | Englisch |
Veröffentlicht: |
Emeryville, CA [u.a.]
McGraw-Hill/Osborne
2006
|
Links: | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=014923678&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
Umfang: | XXXVIII, 825 S. graph. Darst. 1 CD-ROM (12 cm) |
ISBN: | 0072253606 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV021709847 | ||
003 | DE-604 | ||
005 | 20191023 | ||
007 | t| | ||
008 | 060828s2006 xx d||| |||| 00||| eng d | ||
020 | |a 0072253606 |9 0-07-225360-6 | ||
035 | |a (OCoLC)634879085 | ||
035 | |a (DE-599)BVBBV021709847 | ||
040 | |a DE-604 |b ger |e rakwb | ||
041 | 0 | |a eng | |
049 | |a DE-Aug4 |a DE-M347 | ||
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
100 | 1 | |a Sierra, Kathy |d ca. 20./21. Jahrhundert |e Verfasser |0 (DE-588)119774696X |4 aut | |
245 | 1 | 0 | |a SCJP Sun certified programmer for Java 5 study guide |b exam (310-055) |c Kathy Sierra ; Bert Bates |
264 | 1 | |a Emeryville, CA [u.a.] |b McGraw-Hill/Osborne |c 2006 | |
300 | |a XXXVIII, 825 S. |b graph. Darst. |e 1 CD-ROM (12 cm) | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
700 | 1 | |a Bates, Bert |d ca. 20./21. Jahrhundert |e Verfasser |0 (DE-588)1197747249 |4 aut | |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=014923678&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-014923678 |
Datensatz im Suchindex
_version_ | 1819363182773272576 |
---|---|
adam_text | 1 Declarations and Access Control 1
2 Object Orientation 81
3 Assignments 173
4 Operators 275
5 Flow Control, Exceptions, and Assertions 315
6 Strings, I/O, Formatting, and Parsing 411
7 Generics and Collections 521
8 Inner Classes 635
9 Threads 673
10 Development 759
A About the CD 799
Index 803
About the Contributors i.v
Acknowledgments xxi
Preface .v.vi ii
Intrmluction .v.Vf
I Declarations and Access Control I
Java Refresher 2
Identifiers JavaBeans (Objectives 1.3 and 1.4) ........ 4
Legal Identifiers 5
Sun s Java Code Conventions 6
JavaBeans Standards 8
Declare Classes (Exam Objective 1.1) 10
Source File Declaration Rules 11
Class Declarations and Modifiers 12
Exercise I I: Creating an Abstract Superclass and
Concrete Subclass 18
Declare Interfaces (Exam Objectives 1.1 and 1.2) ........ 19
Declaring an Interface 19
Declaring Interface Constants 22
Declare Class Members (Objectives 1.3 and 1.4) ........ 24
Access Modifiers 24
Nonaccess Member Modifiers 39
Constructor Declarations 47
Variable Declarations 49
Declaring Enums 60
/ Two Minute Drill 6 S
QikA Self Test 74
Self Test Answers 77
2 Object Orientation 81
Encapsulation (Exam Objective 5.1) 82
Inheritance, Is A, Has A (Exam Objective 5.5) 86
IS A 90
HAS A 92
Polymorphism (Exam Objective 5.2) 94
Overriding/Overloading (Exam Objectives 1.5 and 5.4) 99
Overridden Methods 99
Overloaded Methods 105
Reference Variable Casting (Objective 5.2) H2
Implementing an Interface (Exam Objective 1.2) 116
Legal Return Types (Exam Objective 1.5) 122
Return Type Declarations 122
Returning a Value 124
Constructors and Instantiation (Exam Objectives 1.6 and 5.4) .... 126
Determine Whether a Default Constructor Will Be Created . 131
Overloaded Constructors 135
Statics (Exam Objective 1.3) 141
Static Variables and Methods 141
Coupling and Cohesion (Exam Objective 5.1) 147
v Two Minute Drill 153
Q A SelfTest 158
Self Test Answers 164
3 Assignments 173
Stack and Heap—Quick Review 174
Literals, Assignments, and Variables (Exam Objectives 1.3 and 7.6) . . 176
Literal Values for All Primitive Types 176
Assignment Operators 180
ixercisej h Casting Primitives 185
Using a Variable or Array Element That Is Uninitialized
and Unassigned 193
Local (Stack, Automatic) Primitives and Objects 197
Passing Variables into Methods (Exam Objective 7.3) 203
Passing Object Reference Variables 203
Does Java Use Pass By Value Semantics? 204
Passing Primitive Variables 205
Array Declaration, Construction, and Initialization
(Exam Objective 1.3) 205
Declaring an Array 20S
Constructing an Array 21C
Initializing an Array 2H
Initialization Blocks 224
Using Wrapper Classes and Boxing (Exam Objective 3.1) 227
An Overview of the Wrapper Classes 228
Creating Wrapper Objects 229
Using Wrapper Conversion Utilities 230
Autoboxing 234
Overloading (Exam Objectives 1.5 and 5.4) 237
Garbage Collection (Exam Objective 7.4) 244
Overview of Memory Management and Garbage Collection . 244
Overview of Java s Garbage Collector 245
Writing Code That Explicitly Makes Objects Eligible for
Collection 247
Exercise 3 2; GC Analysis 252
• Two Minute Drill 255
Q A SelfTest 259
Self Test Answers 266
4 Operators 275
Java Operators (Exam Objective 7.6) 276
Assignment Operators 276
Relational Operators 278
instanceof Comparison 283
Arithmetic Operators 286
Conditional Operator 292
Logical Operators 293
/ Two Minute Drill 299
Q A SelfTest 301
Self Test Answers 307
5 Flow Control, Exceptions, and Assertions 315
if and switch Statements (Exam Objective 2.1) 316
if else Branching ^
switch Statements 32/
Exercise 5 1: Creating a switch case Statement 330
Loops and Iterators (Exam Objective 2.2) 331
Using while Loops 331
Using do Loops 332
Using for Loops 333
Using break and continue 340
Unlabeled Statements 341
Labeled Statements 342
Exercise 5 2: Creating a Labeled while Loop 344
Handling Exceptions (Exam Objectives 2.4 and 2.5) 344
Catching an Exception Using try and catch 345
Using finally 347
Propagating Uncaught Exceptions 350
Exercise 5 3: Propagating and Catching an Exception . . 352
Defining Exceptions 353
Exception Hierarchy 354
Handling an Entire Class Hierarchy of Exceptions 356
Exception Matching 357
Exception Declaration and the Public Interface 359
Rethrowing the Same Exception 364
Exercise 5 4: Creating an Exception 365
Common Exceptions and Errors (Exam Objective 2.6) 366
Working with the Assertion Mechanism (Exam Objective 2.3) . . . 371
Assertions Overview 372
Enabling Assertions 375
Using Assertions Appropriately 380
S Two Minute Drill 385
Q A SelfTest 389
Self Test Answers 399
6 Strings, I/O, Formatting, and Parsing 411
String, StringBuilder, and StringBuffer (Exam Objective 3.1) .... 412
The String Class 412
Important Facts About Strings and Memory 419
Important Methods in the String Class 420
The StringBuffer and StringBuilder Classes . 424
Important Methods in the StringBuffer
and StringBuilder Classes . . • . 426
File Navigation and I/O (Exam Objective 3.2) . 429
Serialization (Exam Objective 3.3) . 443
Dates, Numbers, and Currency (Exam Objective 3 4) . 457
Working with Dates, Numbers, and Currencies ...... 458
Parsing, Tokenizing, and Formatting (Exam Objective 3.5) ..... 471
A Search Tutorial . 472
Locating Data via Pattern Matching • 482
Tokenizing . 485
Formatting with printfQ and format() . 489
/ Two Minute Drill . 494
Q A SelfTest . 498
Self Test Answers . 508
7 Generics and Collections 521
Overriding hashCode() and equals() (Objective 6 2) . 522
Overriding equals() . 524
Overriding hashCodeO ............... 529
Collections (Exam Objective 6.1) .............. 536
So What Do You Do with a Collection? . 536
Using the Collections Framework (Objective 6.5) ........ 546
ArrayList Basics .................. 547
Autoboxing with Collections ............. 548
Sorting Collections and Arrays ............ 548
Generic Types (Objectives 6.3 and 6.4) ............ 570
Generics and Legacy Code .............. 575
Mixing Generic and Non generic Collections ...... 576
Polymorphism and Generics ............. 582
Generic Methods 584
Generic Declarations 597
«/ Two Minute Drill 606
Q A SelfTest 611
Self Test Answers 622
8 Inner Classes
Inner Classes • 637
Coding a Regular Inner Class 638
Referencing the Inner or Outer Instance from Within
the Inner Class. 642
Method Local Inner Classes 644
What a Method Local Inner Object Can and Can t Do ... 645
Anonymous Inner Classes • 647
Plain Old Anonymous Inner Classes, Flavor One 647
Plain Old Anonymous Inner Classes, Flavor Two 651
Argument Defined Anonymous Inner Class 652
Static Nested Classes. . 654
Instantiating and Using Static Nested Classes ....... 655
y Two Minute Drill 657
Q A SelfTest 659
Self Test Answers 665
9 Threads 673
Defining, Instantiating, and Starting Threads (Exam Objective 4.1) . 674
Defining a Thread 677
Instantiating a Thread 678
Starting a Thread 681
Thread States and Transitions (Exam Objective 4.2). ....... 690
Thread States . • 690
Preventing Thread Execution 692
Sleeping 693
Exercise 9=1: Creating a Thread and Putting It to Sleep . . 695
Thread Priorities and yield() 696
Synchronizing Code (Exam Objective 4.3) 700
Synchronization and Locks . 707
Exercise 1=2: Synchronizing a Block of Code ...... 710
Thread Deadlock ¦ 717
Thread Interaction (Exam Objective 4 4) 718
Using notifyAHQ When Many Threads May Be Waiting . . 724
S Two Minute Drill 730
Q A SelfTest 733
Self Test Answers 744
Exercise Answers 758
10 Development 759
Using the javac and Java Commands (Exam Objectives 7.1, 7.2, 7.5) . 760
Compiling with javac 760
Launching Applications with Java 763
Searching for Other Classes 766
JAR Files (Exam Objective 7.5) 772
JAR Files and Searching 773
Using Static Imports (Exam Objective 7.1) 776
Static Imports 776
/ Two Minute Drill 779
Q A SelfTest 781
Self Test Answers 789
A About the CD 799
System Requirements 800
Installing and Running Master Exam 800
Master Exam 800
Electronic Book 801
Help 801
Removing Installation(s) 801
Technical Support 801
LearnKey Technical Support 801
Index 803
|
any_adam_object | 1 |
author | Sierra, Kathy ca. 20./21. Jahrhundert Bates, Bert ca. 20./21. Jahrhundert |
author_GND | (DE-588)119774696X (DE-588)1197747249 |
author_facet | Sierra, Kathy ca. 20./21. Jahrhundert Bates, Bert ca. 20./21. Jahrhundert |
author_role | aut aut |
author_sort | Sierra, Kathy ca. 20./21. Jahrhundert |
author_variant | k s ks b b bb |
building | Verbundindex |
bvnumber | BV021709847 |
classification_rvk | ST 250 |
ctrlnum | (OCoLC)634879085 (DE-599)BVBBV021709847 |
discipline | Informatik |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01224nam a2200289 c 4500</leader><controlfield tag="001">BV021709847</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20191023 </controlfield><controlfield tag="007">t|</controlfield><controlfield tag="008">060828s2006 xx d||| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0072253606</subfield><subfield code="9">0-07-225360-6</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)634879085</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV021709847</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakwb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-Aug4</subfield><subfield code="a">DE-M347</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Sierra, Kathy</subfield><subfield code="d">ca. 20./21. Jahrhundert</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)119774696X</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">SCJP Sun certified programmer for Java 5 study guide</subfield><subfield code="b">exam (310-055)</subfield><subfield code="c">Kathy Sierra ; Bert Bates</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Emeryville, CA [u.a.]</subfield><subfield code="b">McGraw-Hill/Osborne</subfield><subfield code="c">2006</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XXXVIII, 825 S.</subfield><subfield code="b">graph. Darst.</subfield><subfield code="e">1 CD-ROM (12 cm)</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Bates, Bert</subfield><subfield code="d">ca. 20./21. Jahrhundert</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1197747249</subfield><subfield code="4">aut</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=014923678&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="943" ind1="1" ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-014923678</subfield></datafield></record></collection> |
id | DE-604.BV021709847 |
illustrated | Illustrated |
indexdate | 2024-12-20T12:39:56Z |
institution | BVB |
isbn | 0072253606 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-014923678 |
oclc_num | 634879085 |
open_access_boolean | |
owner | DE-Aug4 DE-M347 |
owner_facet | DE-Aug4 DE-M347 |
physical | XXXVIII, 825 S. graph. Darst. 1 CD-ROM (12 cm) |
publishDate | 2006 |
publishDateSearch | 2006 |
publishDateSort | 2006 |
publisher | McGraw-Hill/Osborne |
record_format | marc |
spellingShingle | Sierra, Kathy ca. 20./21. Jahrhundert Bates, Bert ca. 20./21. Jahrhundert SCJP Sun certified programmer for Java 5 study guide exam (310-055) |
title | SCJP Sun certified programmer for Java 5 study guide exam (310-055) |
title_auth | SCJP Sun certified programmer for Java 5 study guide exam (310-055) |
title_exact_search | SCJP Sun certified programmer for Java 5 study guide exam (310-055) |
title_full | SCJP Sun certified programmer for Java 5 study guide exam (310-055) Kathy Sierra ; Bert Bates |
title_fullStr | SCJP Sun certified programmer for Java 5 study guide exam (310-055) Kathy Sierra ; Bert Bates |
title_full_unstemmed | SCJP Sun certified programmer for Java 5 study guide exam (310-055) Kathy Sierra ; Bert Bates |
title_short | SCJP Sun certified programmer for Java 5 study guide |
title_sort | scjp sun certified programmer for java 5 study guide exam 310 055 |
title_sub | exam (310-055) |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=014923678&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT sierrakathy scjpsuncertifiedprogrammerforjava5studyguideexam310055 AT batesbert scjpsuncertifiedprogrammerforjava5studyguideexam310055 |