
A Programmer's Guide to Java SCJP Certification A Comprehensive Primer
by Mughal, Khalid A.; Rasmussen, Rolf WRent Book
New Book
We're Sorry
Sold Out
Used Book
We're Sorry
Sold Out
eBook
We're Sorry
Not Available
How Marketplace Works:
- This item is offered by an independent seller and not shipped from our warehouse
- Item details like edition and cover design may differ from our description; see seller's comments before ordering.
- Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
- Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
- Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.
Summary
Author Biography
Professor Mughal is also the principal author of an introductory Norwegian textbook on programming in Java (Java som første programmeringsspråk/Java as First Programming Language, Third Edition, Cappelen Akademisk Forlag, ISBN-10: 82-02-24554-0, 2006), which he co-authored with Torill Hamre and Rolf W. Rasmussen. Together they have also published another textbook for a 2-semester course in programming (Java Actually: A Comprehensive Primer in Programming, Cengage Learning, ISBN-10: 1844809331, 2008).
His current work involves applying Object Technology in the development of content management systems for publication on the Web, and security issues related to web applications. For the past seven years he has been responsible for developing and running web-based programming courses in Java, which are offered to offcampus students.
He is also a member of the Association for Computing Machinery (ACM).
Rolf W. Rasmussen is the System Development Manager at vizrt, a company that develops solutions for the TV broadcast industry, including real-time 3D graphic renderers, and content and control systems.
Rasmussen works mainly on control and automation systems, video processing, typography, and real-time visualization. He has worked on clean room implementations of the Java class libraries in the past, and is a contributor to the Free Software Foundation.
Over the years, Rasmussen has worked both academically and professionally with numerous programming languages, including Java. He is primarily responsible for developing the review questions and answers, the programming exercises and their solutions, the mock exam, and all the practical aspects related to taking the SCJP exam presented in this book.
As mentioned above, he is also a co-author of two introductory textbooks on programming in Java.
Table of Contents
List of Figures ? | p. xxiii |
List of Tables ? | p. xxvii |
List of Examples ? | p. xxix |
Foreword ? | p. xxxv |
Preface ? | p. xxxvii |
Basics of Java Programming | p. 1 |
Introduction | p. 2 |
Classes | p. 2 |
Objects | p. 4 |
Instance Members | p. 6 |
Static Members | p. 7 |
Inheritance | p. 10 |
Aggregation | p. 12 |
Tenets of Java | p. 13 |
Java Programs | p. 15 |
Sample Java Application | p. 15 |
Language Fundamentals | p. 19 |
Basic Language Elements | p. 20 |
Primitive Data Types | p. 28 |
Variable Declarations | p. 31 |
Initial Values for Variables | p. 33 |
Chapter Summary | p. 37 |
Programming Exercise | p. 37 |
Declarations | p. 39 |
Class Declarations | p. 40 |
JavaBeans Standard | p. 41 |
Method Declarations | p. 44 |
Constructors | p. 48 |
Enumerated Types | p. 54 |
Arrays | p. 69 |
Parameter Passing | p. 81 |
Variable Arity Methods | p. 90 |
Chapter Summary | p. 100 |
Programming Exercises | p. 101 |
Access Control | p. 103 |
Java Source File Structure | p. 104 |
Packages | p. 105 |
Searching for Classes | p. 117 |
The JAR Utility | p. 120 |
System Properties | p. 122 |
Scope Rules | p. 129 |
Accessibility Modifiers for Top-Level Type Declarations | p. 132 |
Other Modifiers for Classes | p. 135 |
Member Accessibility Modifiers | p. 138 |
Other Modifiers for Members | p. 146 |
Chapter Summary | p. 157 |
Programming Exercise | p. 157 |
Operators and Expressions | p. 159 |
Conversions | p. 160 |
Type Conversion Contexts | p. 163 |
Precedence and Associativity Rules for Operators | p. 166 |
Evaluation Order of Operands | p. 168 |
The Simple Assignment Operator = | p. 169 |
Arithmetic Operators: *, /, %, +, - | p. 174 |
The Binary String Concatenation Operator + | p. 185 |
Variable Increment and Decrement Operators: ++, -- | p. 186 |
Boolean Expressions | p. 190 |
Relational Operators: , >= | p. 190 |
Equality | p. 191 |
Boolean Logical Operators: !, ^, & | p. 194 |
Conditional Operators: & | p. 196 |
The Conditional Operator:?: | p. 201 |
Other Operators: new, [], instanceof | p. 201 |
Chapter Summary | p. 202 |
Programming Exercise | p. 202 |
Control Flow | p. 203 |
Overview of Control Flow Statements | p. 204 |
Selection Statements | p. 204 |
Iteration Statements | p. 216 |
Transfer Statements | p. 223 |
Stack-Based Execution and Exception Propagation | p. 235 |
Exception Types | p. 239 |
Exception Handling: try, catch, and finally | p. 245 |
The throw Statement | p. 255 |
The throws Clause | p. 257 |
Assertions | p. 265 |
Chapter Summary | p. 279 |
Programming Exercises | p. 279 |
Object-Oriented Programming | p. 283 |
Single Implementation Inheritance | p. 284 |
Overriding Methods | p. 288 |
Hiding Members | p. 294 |
The Object Reference super | p. 295 |
Chaining Constructors Using this() and super() | p. 302 |
Interfaces | p. 309 |
Arrays and Subtyping | p. 317 |
Reference Values and Conversions | p. 319 |
Reference Value Assignment Conversions | p. 320 |
Method Invocation Conversions Involving References | p. 323 |
Reference Casting and the instanceof Operator | p. 327 |
Polymorphism and Dynamic Method Lookup | p. 340 |
Inheritance Versus Aggregation | p. 342 |
Basic Concepts in Object-Oriented Design 345 | |
Chapter Summary | p. 349 |
Programming Exercises | p. 349 |
Nested Type Declarations | p. 351 |
Overview of Nested Type Declarations | p. 352 |
Static Member Types | p. 355 |
Non-Static Member Classes | p. 359 |
Local C | |
Table of Contents provided by Publisher. All Rights Reserved. |
Excerpts
An electronic version of this book is available through VitalSource.
This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.
By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.
Digital License
You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.
More details can be found here.
A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.
Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.
Please view the compatibility matrix prior to purchase.