A programmer's guide to Java SCJP certification a comprehensive primer

دانلود کتاب A programmer's guide to Java SCJP certification a comprehensive primer

50000 تومان موجود

کتاب راهنمای برنامه نویسی برای گواهینامه جاوا SCJP یک پرایمر جامع نسخه زبان اصلی

دانلود کتاب راهنمای برنامه نویسی برای گواهینامه جاوا SCJP یک پرایمر جامع بعد از پرداخت مقدور خواهد بود
توضیحات کتاب در بخش جزئیات آمده است و می توانید موارد را مشاهده فرمایید


این کتاب نسخه اصلی می باشد و به زبان فارسی نیست.


امتیاز شما به این کتاب (حداقل 1 و حداکثر 5):

امتیاز کاربران به این کتاب:        تعداد رای دهنده ها: 12


توضیحاتی در مورد کتاب A programmer's guide to Java SCJP certification a comprehensive primer

نام کتاب : A programmer's guide to Java SCJP certification a comprehensive primer
ویرایش : 3rd ed
عنوان ترجمه شده به فارسی : راهنمای برنامه نویسی برای گواهینامه جاوا SCJP یک پرایمر جامع
سری :
نویسندگان : ,
ناشر : Addison-Wesley Professional
سال نشر : 2008;2009
تعداد صفحات : 1089
ISBN (شابک) : 0321556054 , 0321585739
زبان کتاب : English
فرمت کتاب : pdf
حجم کتاب : 6 مگابایت



بعد از تکمیل فرایند پرداخت لینک دانلود کتاب ارائه خواهد شد. درصورت ثبت نام و ورود به حساب کاربری خود قادر خواهید بود لیست کتاب های خریداری شده را مشاهده فرمایید.


فهرست مطالب :


Cover......Page 1
Contents......Page 10
List of Figures......Page 24
List of Tables......Page 28
List of Examples......Page 30
Foreword......Page 36
Preface......Page 38
1 Basics of Java Programming......Page 48
1.2 Classes......Page 49
Declaring Members: Fields and Methods......Page 50
Class Instantiation, Reference Values, and References......Page 51
1.4 Instance Members......Page 53
1.5 Static Members......Page 54
1.6 Inheritance......Page 57
1.7 Aggregation......Page 59
Review Questions......Page 60
Essential Elements of a Java Application......Page 62
Compiling and Running an Application......Page 63
Review Questions......Page 64
Programming Exercise......Page 65
2 Language Fundamentals......Page 66
Keywords......Page 67
Literals......Page 68
Floating-Point Literals......Page 69
Character Literals......Page 70
White Spaces......Page 72
Comments......Page 73
Review Questions......Page 74
Integer Types......Page 75
The Floating-Point Types......Page 76
The boolean Type......Page 77
Declaring and Initializing Variables......Page 78
Reference Variables......Page 79
Default Values for Fields......Page 80
Initializing Local Variables of Primitive Data Types......Page 81
Lifetime of Variables......Page 82
Review Questions......Page 83
Programming Exercise......Page 84
3 Declarations......Page 86
3.1 Class Declarations......Page 87
Naming Patterns for Properties......Page 88
Naming Patterns for the Event Model......Page 89
3.3 Method Declarations......Page 91
Instance Methods and the Object Reference this......Page 92
Method Overloading......Page 94
3.4 Constructors......Page 95
The Default Constructor......Page 96
Overloaded Constructors......Page 98
Review Questions......Page 99
Using Typesafe Enums......Page 101
Declaring Enum Constructors and Members......Page 102
Implicit Static Methods for Enum Types......Page 104
Inherited Methods from the Enum Class......Page 105
Extending Enum Types: Constant-Specific Class Bodies......Page 106
Declaring Typesafe Enums Revisited......Page 109
Review Questions......Page 110
3.6 Arrays......Page 116
Constructing an Array......Page 117
Initializing an Array......Page 118
Using an Array......Page 119
Anonymous Arrays......Page 121
Multidimensional Arrays......Page 122
Review Questions......Page 126
3.7 Parameter Passing......Page 128
Passing Primitive Data Values......Page 129
Passing Reference Values......Page 131
Passing Arrays......Page 133
Array Elements as Actual Parameters......Page 134
final Parameters......Page 136
3.8 Variable Arity Methods......Page 137
Calling a Varargs Method......Page 138
Varargs and Non-Varargs Method Calls......Page 140
3.9 The main() Method......Page 141
Program Arguments......Page 142
Review Questions......Page 143
Chapter Summary......Page 147
Programming Exercises......Page 148
4 Access Control......Page 150
4.1 Java Source File Structure......Page 151
4.2 Packages......Page 152
Defining Packages......Page 153
Using Packages......Page 154
Compiling Code into Packages......Page 162
4.3 Searching for Classes......Page 164
4.4 The JAR Utility......Page 167
4.5 System Properties......Page 169
Review Questions......Page 170
Class Scope for Members......Page 176
Block Scope for Local Variables......Page 178
4.7 Accessibility Modifiers for Top-Level Type Declarations......Page 179
abstract Classes......Page 182
final Classes......Page 183
4.9 Member Accessibility Modifiers......Page 185
public Members......Page 186
protected Members......Page 188
Default Accessibility for Members......Page 189
private Members......Page 190
Review Questions......Page 191
4.10 Other Modifiers for Members......Page 193
static Members......Page 194
final Members......Page 195
synchronized Methods......Page 197
native Methods......Page 198
transient Fields......Page 199
volatile Fields......Page 200
Review Questions......Page 201
Programming Exercise......Page 204
5 Operators and Expressions......Page 206
Widening and Narrowing Primitive Conversions......Page 207
Widening and Narrowing Reference Conversions......Page 208
Other Conversions......Page 209
5.2 Type Conversion Contexts......Page 210
Casting Context of the Unary Type Cast Operator: (type)......Page 211
Numeric Promotion Context......Page 212
5.3 Precedence and Associativity Rules for Operators......Page 213
Operand Evaluation before Operation Execution......Page 215
Assigning References......Page 216
Multiple Assignments......Page 217
Type Conversions in Assignment Context......Page 218
Review Questions......Page 220
Evaluation Order in Arithmetic Expressions......Page 221
Range of Numeric Values......Page 222
Unary Arithmetic Operators: -, +......Page 224
Multiplicative Binary Operators: *, /, %......Page 225
Numeric Promotions in Arithmetic Expressions......Page 227
Arithmetic Compound Assignment Operators: *=, /=, %=, +=, -=......Page 229
Review Questions......Page 231
5.7 The Binary String Concatenation Operator +......Page 232
5.8 Variable Increment and Decrement Operators: ++, --......Page 233
The Decrement Operator --......Page 234
Review Questions......Page 235
5.10 Relational Operators: <, <=, >, >=......Page 237
Primitive Data Value Equality: ==, !=......Page 238
Object Reference Equality: ==, !=......Page 239
Object Value Equality......Page 240
5.12 Boolean Logical Operators: !, ^, &, |......Page 241
Boolean Logical Compound Assignment Operators: &=, ^=, |=......Page 242
5.13 Conditional Operators: &&, ||......Page 243
Short-Circuit Evaluation......Page 244
Review Questions......Page 246
5.15 Other Operators: new, [], instanceof......Page 248
Programming Exercise......Page 249
6 Control Flow......Page 250
The Simple if Statement......Page 251
The if-else Statement......Page 252
The switch Statement......Page 254
Review Questions......Page 259
6.3 Iteration Statements......Page 263
The do-while Statement......Page 264
The for(;;) Statement......Page 265
The for(:) Statement......Page 267
Labeled Statements......Page 270
The break Statement......Page 271
The continue Statement......Page 273
The return Statement......Page 275
Review Questions......Page 276
6.5 Stack-Based Execution and Exception Propagation......Page 282
6.6 Exception Types......Page 286
The RuntimeException Class......Page 288
The Error Class......Page 289
Checked and Unchecked Exceptions......Page 290
Defining New Exceptions......Page 291
The try Block......Page 292
The catch Block......Page 293
The finally Block......Page 298
6.8 The throw Statement......Page 302
6.9 The throws Clause......Page 304
Review Questions......Page 307
The assert Statement and the AssertionError Class......Page 312
Compiling Assertions......Page 314
Runtime Enabling and Disabling of Assertions......Page 316
Using Assertions......Page 319
Review Questions......Page 323
Programming Exercises......Page 326
7 Object-Oriented Programming......Page 330
7.1 Single Implementation Inheritance......Page 331
Relationships: is-a and has-a......Page 333
The Supertype-Subtype Relationship......Page 334
Instance Method Overriding......Page 335
Covariant return in Overriding Methods......Page 337
Overriding vs. Overloading......Page 339
Static Method Hiding......Page 341
7.4 The Object Reference super......Page 342
Review Questions......Page 344
The this() Constructor Call......Page 349
The super() Constructor Call......Page 352
Review Questions......Page 355
7.6 Interfaces......Page 356
Abstract Method Declarations......Page 357
Implementing Interfaces......Page 359
Extending Interfaces......Page 360
Constants in Interfaces......Page 361
Review Questions......Page 362
Arrays and Subtype Covariance......Page 364
7.8 Reference Values and Conversions......Page 366
7.9 Reference Value Assignment Conversions......Page 367
7.10 Method Invocation Conversions Involving References......Page 370
Overloaded Method Resolution......Page 371
The Cast Operator......Page 374
The instanceof Operator......Page 375
Review Questions......Page 379
7.12 Polymorphism and Dynamic Method Lookup......Page 387
7.13 Inheritance Versus Aggregation......Page 389
Encapsulation......Page 392
Coupling......Page 393
Review Questions......Page 394
Programming Exercises......Page 396
8 Nested Type Declarations......Page 398
8.1 Overview of Nested Type Declarations......Page 399
Declaring and Using Static Member Types......Page 402
Accessing Members in Enclosing Context......Page 404
8.3 Non-Static Member Classes......Page 406
Instantiating Non-Static Member Classes......Page 407
Accessing Members in Enclosing Context......Page 409
Review Questions......Page 414
8.4 Local Classes......Page 418
Accessing Declarations in Enclosing Context......Page 419
Instantiating Local Classes......Page 421
Extending an Existing Class......Page 424
Implementing an Interface......Page 426
Accessing Declarations in Enclosing Context......Page 427
Review Questions......Page 429
Programming Exercise......Page 433
9 Object Lifetime......Page 436
9.2 Reachable Objects......Page 437
9.3 Facilitating Garbage Collection......Page 439
9.4 Object Finalization......Page 443
9.5 Finalizer Chaining......Page 444
9.6 Invoking Garbage Collection Programmatically......Page 445
Review Questions......Page 448
9.8 Field Initializer Expressions......Page 453
9.9 Static Initializer Blocks......Page 457
9.10 Instance Initializer Blocks......Page 460
9.11 Constructing Initial Object State......Page 463
Review Questions......Page 467
Chapter Summary......Page 469
10 Fundamental Classes......Page 470
10.2 The Object Class......Page 471
10.3 The Wrapper Classes......Page 475
Common Wrapper Class Constructors......Page 476
Common Wrapper Class Utility Methods......Page 477
Numeric Wrapper Classes......Page 480
The Character Class......Page 483
Review Questions......Page 484
Creating and Initializing Strings......Page 486
The CharSequence Interface......Page 489
Reading Characters from a String......Page 490
Comparing Strings......Page 492
Concatenation of Strings......Page 493
Searching for Characters and Substrings......Page 495
Extracting Substrings......Page 496
Formatting Values......Page 497
Pattern Matching......Page 498
Review Questions......Page 499
Mutability......Page 503
Reading and Changing Characters in String Builders......Page 504
Appending, Inserting, and Deleting Characters in String Builders......Page 505
Controlling String Builder Capacity......Page 507
Review Questions......Page 508
Chapter Summary......Page 511
Programming Exercises......Page 512
11 Files and Streams......Page 514
11.2 The File Class......Page 515
Querying the File System......Page 517
File and Directory Permissions......Page 519
Creating New Files and Directories......Page 520
Deleting Files and Directories......Page 521
11.3 Byte Streams: Input Streams and Output Streams......Page 522
File Streams......Page 524
Reading and Writing Binary Values......Page 526
Review Questions......Page 531
11.4 Character Streams: Readers and Writers......Page 535
Print Writers......Page 537
Writing Text Files......Page 539
Reading Text Files......Page 541
Using Buffered Writers......Page 542
Using Buffered Readers......Page 543
The Standard Input, Output, and Error Streams......Page 546
11.5 The Console class......Page 547
Review Questions......Page 553
11.6 Object Serialization......Page 557
The ObjectOutputStream Class......Page 558
The ObjectInputStream Class......Page 559
Customizing Object Serialization......Page 564
Serialization and Inheritance......Page 566
Review Questions......Page 569
Chapter Summary......Page 576
Programming Exercise......Page 577
12 Localization, Pattern Matching, and Formatting......Page 578
12.1 The java.util.Locale Class......Page 579
12.2 The java.util.Date Class......Page 582
12.3 The java.util.Calendar Class......Page 583
Selected get and set Methods......Page 584
Manipulating a Calendar......Page 586
Comparing Calendars......Page 587
Static Factory Methods to Create a Date/Time Formatter......Page 588
Formatting Dates......Page 589
Parsing Strings to Date/Time......Page 590
Managing the Calendar and the Number Formatter......Page 592
Formatting Numbers and Currency......Page 593
Specifying the Number of Digits......Page 594
Review Questions......Page 598
Regular Expression Fundamentals......Page 601
Escaping Metacharacters......Page 608
The java.util.regex.Pattern Class......Page 609
The java.util.regex.Matcher Class......Page 613
The java.util.Scanner Class......Page 618
Review Questions......Page 629
Overview......Page 640
Defining Format Specifiers......Page 642
Conversion Categories and Formatting Conversions......Page 644
Selected Format Exceptions......Page 648
Using the format() Method......Page 649
Review Questions......Page 651
Programming Exercises......Page 657
13 Threads......Page 660
13.2 Overview of Threads......Page 661
13.4 Thread Creation......Page 662
Implementing the Runnable Interface......Page 663
Extending the Thread Class......Page 666
Review Questions......Page 669
Locks......Page 673
Synchronized Methods......Page 674
Synchronized Blocks......Page 676
Review Questions......Page 678
Thread States......Page 681
Thread Scheduler......Page 685
Running and Yielding......Page 686
Waiting and Notifying......Page 687
Joining......Page 694
Blocking for I/O......Page 696
Thread Termination......Page 697
Deadlocks......Page 698
Review Questions......Page 700
Chapter Summary......Page 705
Programming Exercises......Page 706
14 Generics......Page 708
14.1 Introducing Generics......Page 709
Generic Types......Page 710
Parameterized Types......Page 712
Generic Interfaces......Page 713
Extending Generic Types......Page 715
Raw Types and Unchecked Warnings......Page 717
14.3 Collections and Generics......Page 719
The Subtype Covariance Problem with Parameterized Types......Page 720
Subtype Covariance: ? extends Type......Page 722
Subtype Contravariance: ? super Type......Page 723
Some Restrictions on Wildcard Types......Page 724
14.5 Using References of Wildcard Parameterized Types......Page 725
Generic Reference Assignment......Page 726
Using Parameterized References to Call Set and Get Methods......Page 727
14.6 Bounded Type Parameters......Page 731
Review Questions......Page 733
14.7 Implementing a Simplified Generic Stack......Page 742
14.8 Generic Methods and Constructors......Page 744
Generic Method Declaration......Page 746
Calling Generic Methods......Page 747
14.9 Wildcard Capture......Page 750
Nested Wildcards......Page 752
Wildcard Parameterized Types as Formal Parameters......Page 754
Flexible Comparisons with Wildcards......Page 756
Recursive Bounds......Page 759
14.11 Type Erasure......Page 761
Method Signature......Page 763
Implications for Overloading......Page 764
Implications for Overriding......Page 765
Reifiable Types......Page 769
Implications for instanceof operator......Page 770
Implications for Casting......Page 771
Implications for Arrays......Page 773
Implications for Varargs......Page 776
Implications for Exception Handling......Page 777
Implications for Nested Classes......Page 778
Other Implications......Page 780
Review Questions......Page 781
Chapter Summary......Page 791
Programming Exercises......Page 792
15 Collections and Maps......Page 794
15.1 Comparing Objects......Page 795
The equals() Method......Page 798
The hashCode() Method......Page 807
The Comparable Interface......Page 812
The Comparator Interface......Page 818
Review Questions......Page 822
15.2 The Java Collections Framework......Page 824
Core Interfaces......Page 825
Implementations......Page 827
Basic Operations......Page 831
Iterators......Page 832
Array Operations......Page 837
Review Questions......Page 838
The HashSet and LinkedHashSet Classes......Page 843
The SortedSet Interface......Page 847
The NavigableSet Interface......Page 848
The TreeSet Class......Page 849
15.6 Lists......Page 851
The ArrayList, LinkedList, and Vector Classes......Page 853
The Queue Interface......Page 856
The PriorityQueue and LinkedList Classes......Page 857
The Deque Interface......Page 860
The ArrayDeque and LinkedList Class......Page 862
Review Questions......Page 863
Basic Operations......Page 868
Collection Views......Page 869
The HashMap, LinkedHashMap, and Hashtable Classes......Page 870
The SortedMap Interface......Page 873
The NavigableMap Interface......Page 874
The TreeMap Class......Page 875
Review Questions......Page 880
Ordering Elements in Lists......Page 885
Searching in Collections......Page 887
Changing Elements in Collections......Page 888
Sorting Arrays......Page 889
Searching in Arrays......Page 890
Creating List Views of Arrays......Page 892
Review Questions......Page 893
Chapter Summary......Page 896
Programming Exercises......Page 897
A.1 Preparing for the Programmer Exam......Page 898
Contact Information......Page 899
Utilizing the Allotted Time......Page 900
Types of Questions Asked......Page 901
Topics Covered by the Questions......Page 902
A.5 Moving on to Other Java Technology Exams......Page 903
B: Objectives for the SCJP 1.6 Exam......Page 904
C: Objectives for the SCJP 1.6 Upgrade Exam......Page 910
D: Annotated Answers to Review Questions......Page 916
E: Solutions to Programming Exercises......Page 982
F: Mock Exam......Page 1006
Binary, Octal, and Hexadecimal Number System......Page 1052
Converting Binary Numbers to Decimals......Page 1053
G.2 Relationship between Binary, Octal, and Hexadecimal Numbers......Page 1054
Converting Decimals to Binary Numbers......Page 1055
Converting Decimals to Octal and Hexadecimal Numbers......Page 1056
G.4 Representing Integers......Page 1057
Calculating 2’s Complement......Page 1058
A......Page 1060
C......Page 1062
D......Page 1066
E......Page 1067
F......Page 1068
G......Page 1069
I......Page 1070
J......Page 1071
L......Page 1072
M......Page 1074
N......Page 1075
O......Page 1076
P......Page 1078
R......Page 1079
S......Page 1080
T......Page 1083
V......Page 1085
Z......Page 1086




پست ها تصادفی