Download PDF Core Java, Volume I--Fundamentals (8th Edition), by Cay S. Horstmann, Gary Cornell
Guide Core Java, Volume I--Fundamentals (8th Edition), By Cay S. Horstmann, Gary Cornell will still give you positive worth if you do it well. Completing guide Core Java, Volume I--Fundamentals (8th Edition), By Cay S. Horstmann, Gary Cornell to read will not become the only objective. The goal is by getting the favorable worth from the book until completion of guide. This is why; you have to learn more while reading this Core Java, Volume I--Fundamentals (8th Edition), By Cay S. Horstmann, Gary Cornell This is not just exactly how fast you review a book and also not just has the number of you completed the books; it has to do with just what you have actually obtained from guides.
Core Java, Volume I--Fundamentals (8th Edition), by Cay S. Horstmann, Gary Cornell
Download PDF Core Java, Volume I--Fundamentals (8th Edition), by Cay S. Horstmann, Gary Cornell
Core Java, Volume I--Fundamentals (8th Edition), By Cay S. Horstmann, Gary Cornell. Satisfied reading! This is exactly what we intend to claim to you that love reading so much. Just what about you that assert that reading are only responsibility? Don't bother, checking out routine must be begun with some certain reasons. One of them is reading by responsibility. As exactly what we wish to provide here, guide entitled Core Java, Volume I--Fundamentals (8th Edition), By Cay S. Horstmann, Gary Cornell is not kind of required e-book. You could enjoy this book Core Java, Volume I--Fundamentals (8th Edition), By Cay S. Horstmann, Gary Cornell to check out.
Surely, to boost your life quality, every e-book Core Java, Volume I--Fundamentals (8th Edition), By Cay S. Horstmann, Gary Cornell will have their certain session. However, having certain understanding will certainly make you really feel much more positive. When you feel something take place to your life, in some cases, reading publication Core Java, Volume I--Fundamentals (8th Edition), By Cay S. Horstmann, Gary Cornell can aid you to make tranquility. Is that your real pastime? In some cases indeed, yet in some cases will certainly be not exactly sure. Your option to check out Core Java, Volume I--Fundamentals (8th Edition), By Cay S. Horstmann, Gary Cornell as one of your reading publications, could be your correct book to read now.
This is not around exactly how a lot this publication Core Java, Volume I--Fundamentals (8th Edition), By Cay S. Horstmann, Gary Cornell expenses; it is not additionally concerning just what kind of e-book you actually enjoy to review. It is for exactly what you can take and also obtain from reading this Core Java, Volume I--Fundamentals (8th Edition), By Cay S. Horstmann, Gary Cornell You can favor to decide on various other book; yet, it does not matter if you try to make this publication Core Java, Volume I--Fundamentals (8th Edition), By Cay S. Horstmann, Gary Cornell as your reading choice. You will not regret it. This soft file e-book Core Java, Volume I--Fundamentals (8th Edition), By Cay S. Horstmann, Gary Cornell can be your buddy in any situation.
By downloading this soft documents e-book Core Java, Volume I--Fundamentals (8th Edition), By Cay S. Horstmann, Gary Cornell in the on the internet link download, you are in the very first action right to do. This site truly supplies you ease of ways to get the very best book, from best seller to the brand-new launched e-book. You could find much more publications in this website by going to every web link that we supply. Among the collections, Core Java, Volume I--Fundamentals (8th Edition), By Cay S. Horstmann, Gary Cornell is among the very best collections to offer. So, the initial you get it, the initial you will get all favorable concerning this publication Core Java, Volume I--Fundamentals (8th Edition), By Cay S. Horstmann, Gary Cornell
This revised edition of the classic Core Java™, Volume I–Fundamentals , is the definitive guide to Java for serious programmers who want to put Java to work on real projects.
�
Fully updated for the new Java SE 6 platform, this no-nonsense tutorial and reliable reference illuminates the most important language and library features with thoroughly tested real-world examples. The example programs have been carefully crafted to be easy to understand as well as useful in practice, so you can rely on them as an outstanding starting point for your own code.
�
Volume I is designed to quickly bring you up to speed on what’s new in Java SE 6 and to help you make the transition as efficiently as possible, whether you’re upgrading from an earlier version of Java or migrating from another language. The authors concentrate on the fundamental concepts of the Java language, along with the basics of user-interface programming. You’ll find detailed, insightful coverage of�
- Java fundamentals
- Object-oriented programming
- Interfaces and inner classes
- Reflection and proxies
- The event listener model
- GUI programming with Swing
- Packaging applications
- Exception handling
- Logging and debugging
- Generic programming
- The collections framework
- Concurrency
For detailed coverage of XML processing, networking, databases, internationalization, security, advanced AWT/Swing, and other advanced features, look for the forthcoming eighth edition of Core Java™, Volume II—Advanced Features (ISBN: 978-0-13-235479-0).
- Sales Rank: #547265 in Books
- Published on: 2007-09-21
- Original language: English
- Number of items: 1
- Dimensions: 9.20" h x 1.90" w x 6.90" l, 2.97 pounds
- Binding: Paperback
- 864 pages
From the Back Cover
This revised edition of the classicCore Java(tm), Volume I-Fundamentals, is the definitive guide to Java for serious programmers who want to put Java to work on real projects.
�
Fully updated for the new Java SE 6 platform, this no-nonsense tutorial and reliable reference illuminates the most important language and library features with thoroughly tested real-world examples. The example programs have been carefully crafted to be easy to understand as well as useful in practice, so you can rely on them as an outstanding starting point for your own code.
�
Volume I is designed to quickly bring you up to speed on what's new in Java SE 6 and to help you make the transition as efficiently as possible, whether you're upgrading from an earlier version of Java or migrating from another language. The authors concentrate on the fundamental concepts of the Java language, along with the basics of user-interface programming. You'll find detailed, insightful coverage of�
- Java fundamentals
- Object-oriented programming
- Interfaces and inner classes
- Reflection and proxies
- The event listener model
- GUI programming with Swing
- Packaging applications
- Exception handling
- Logging and debugging
- Generic programming
- The collections framework
- Concurrency
For detailed coverage of XML processing, networking, databases, internationalization, security, advanced AWT/Swing, and other advanced features, look for the forthcoming eighth edition ofCore Java(tm), Volume II—Advanced Features(ISBN:978-0-13-235479-0).
About the Author
Cay S. Horstmann is also coauthor of Core JavaServer Faces, Second Edition (Prentice Hall, 2007). Cay is a professor of computer science at San Jose State University, a Java Champion, and a frequent speaker at computer industry conferences.
�
Gary Cornell has been writing and teaching programming professionals for more than twenty years and is the cofounder of Apress. He has written numerous best-selling books for programming professionals, was a cofinalist for a Jolt Award, and won the Readers Choice award from Visual Basic Magazine.
Excerpt. � Reprinted by permission. All rights reserved.
To the Reader
In late 1995, the Java programming language burst onto the Internet scene and gained instant celebrity status. The promise of Java technology was that it would become the universal glue that connects users with information, whether that information comes from web servers, databases, information providers, or any other imaginable source. Indeed, Java is in a unique position to fulfill this promise. It is an extremely solidly engineered language that has gained acceptance by all major vendors, except for Microsoft. Its built-in security and safety features are reassuring both to programmers and to the users of Java programs. Java even has built-in support that makes advanced programming tasks, such as network programming, database connectivity, and multithreading, straightforward.
Since 1995, Sun Microsystems has released seven major revisions of the Java Development Kit. Over the course of the last eleven years, the Application Programming Interface (API) has grown from about 200 to over 3,000 classes. The API now spans such diverse areas as user interface construction, database management, internationalization, security, and XML processing.
The book you have in your hands is the first volume of the eighth edition of Core Java TM . With the publishing of each edition, the book followed the release of the Java Development Kit as quickly as possible, and each time, we rewrote the book to take advantage of the newest Java features. This edition has been updated to reflect the features of Java Standard Edition (SE) 6.
As with the previous editions of this book, we still target serious programmers who want to put Java to work on real projects. We think of you, our reader, as a programmer with a solid background in a programming language other than Java, and we assume that you don’t like books filled with toy examples (such as toasters, zoo animals, or “nervous text”). You won’t find any of these in this book. Our goal is to enable you to fully understand the Java language and library, not to give you an illusion of understanding.
In this book you will find lots of sample code that demonstrates almost every language and library feature that we discuss. We keep the sample programs purposefully simple to focus on the major points, but, for the most part, they aren’t fake and they don’t cut corners. They should make good starting points for your own code.
We assume you are willing, even eager, to learn about all the advanced features that Java puts at your disposal. For example, we give you a detailed treatment of:
- Object-oriented programming
- Reflection and proxies
- Interfaces and inner classes
- The event listener model
- Graphical user interface design with the Swing UI toolkit
- Exception handling
- Generic programming
- The collections framework
- Concurrency
With the explosive growth of the Java class library, a one-volume treatment of all the features of Java that serious programmers need to know is no longer possible. Hence, we decided to break up the book into two volumes. The first volume, which you hold in your hands, concentrates on the fundamental concepts of the Java language, along with the basics of user-interface programming. The second volume, Core Java TM , Volume II—Advanced Features (forthcoming, ISBN: 978-0-13-235479-0), goes further into the enterprise features and advanced user-interface programming. It includes detailed discussions of:
- Files and streams
- Distributed objects
- Databases
- Advanced GUI components
- Native methods
- XML processing
- Network programming
- Advanced graphics
- Internationalization
- JavaBeans
- Annotations
In this edition, we reshuffled the contents of the two volumes. In particular, multithreading is now covered in Volume I because it has become so important, with Moore’s law coming to an end.
When writing a book, errors and inaccuracies are inevitable. We’d very much like to know about them. But, of course, we’d prefer to learn about each of them only once. We have put up a list of frequently asked questions, bugs fixes, and workarounds in a web page at http://horstmann.com/corejava. Strategically placed at the end of the errata page (to encourage you to read through it first) is a form you can use to report bugs and suggest improvements. Please don’t be disappointed if we don’t answer every query or if we don’t get back to you immediately. We do read all e-mail and appreciate your input to make future editions of this book clearer and more informative.
A Tour of This BookChapter 1 gives an overview of the capabilities of Java that set it apart from other programming languages. We explain what the designers of the language set out to do and to what extent they succeeded. Then, we give a short history of how Java came into being and how it has evolved.
In Chapter 2, we tell you how to download and install the JDK and the program examples for this book. Then we guide you through compiling and running three typical Java programs, a console application, a graphical application, and an applet, using the plain JDK, a Java-enabled text editor, and a Java IDE.
Chapter 3 starts the discussion of the Java language. In this chapter, we cover the basics: variables, loops, and simple functions. If you are a C or C++ programmer, this is smooth sailing because the syntax for these language features is essentially the same as in C. If you come from a non-C background such as Visual Basic, you will want to read this chapter carefully.
Object-oriented programming (OOP) is now in the mainstream of programming practice, and Java is completely object oriented. Chapter 4 introduces encapsulation, the first of two fundamental building blocks of object orientation, and the Java language mechanism to implement it, that is, classes and methods. In addition to the rules of the Java language, we also give advice on sound OOP design. Finally, we cover the marvelous javadoc tool that formats your code comments as a set of hyperlinked web pages. If you are familiar with C++, then you can browse through this chapter quickly. Programmers coming from a non-object-oriented background should expect to spend some time mastering OOP concepts before going further with Java.
Classes and encapsulation are only one part of the OOP story, and Chapter 5 introduces the other, namely, inheritance. Inheritance lets you take an existing class and modify it according to your needs. This is a fundamental technique for programming in Java. The inheritance mechanism in Java is quite similar to that in C++. Once again, C++ programmers can focus on the differences between the languages.
Chapter 6 shows you how to use Java’s notion of an interface. Interfaces let you go beyond the simple inheritance model of Chapter 5. Mastering interfaces allows you to have full access to the power of Java’s completely object-oriented approach to programming. We also cover a useful technical feature of Java called inner classes. Inner classes help make your code cleaner and more concise.
In Chapter 7, we begin application programming in earnest. Every Java programmer should know a bit about GUI programming, and this volume contains the basics. We show how you can make windows, how to paint on them, how to draw with geometric shapes, how to format text in multiple fonts, and how to display images.
Chapter 8 is a detailed discussion of the event model of the AWT, the abstract window toolkit. You’ll see how to write the code that responds to events like mouse clicks or key presses. Along the way you’ll see how to handle basic GUI elements like buttons and panels.
Chapter 9 discusses the Swing GUI toolkit in great detail. The Swing toolkit allows you to build a cross-platform graphical user interface. You’ll learn all about the various kinds of buttons, text components, borders, sliders, list boxes, menus, and dialog boxes. However, some of the more advanced components are discussed in Volume II.
Chapter 10 shows you how to deploy your programs, either as applications or applets. We describe how to package programs in JAR files, and how to deliver applications over the Internet with the Java Web Start and applet mechanisms. Finally, we explain how Java programs can store and retrieve configuration information once they have been deployed.
Chapter 11 discusses exception handling, Java’s robust mechanism to deal with the fact that bad things can happen to good programs. Exceptions give you an efficient way of separating the normal processing code from the error handling. Of course, even after hardening your program by handling all exceptional conditions, it still might fail to work as expected. In the second half of this chapter, we give you a large number of useful debugging tips. Finally, we guide you through a sample debugging session.
Chapter 12 gives an overview of generic programming, a major advance of Java SE 5.0. Generic programming makes your programs easier to read and safer. We show you how you can use strong typing and remove unsightly and unsafe casts, and how you can deal with the complexities that arise from the need to stay compatible with older versions of Java.
The topic of Chapter 13 is the collections framework of the Java platform. Whenever you want to collect multiple objects and retrieve them later, you will want to use a collection that is best suited for your circumstances, instead of just tossing the elements into an array. This chapter shows you how to take advantage of the standard collections that are prebuilt for your use.
Chapter 14 finishes the book, with a discussion on multithreading, which enables you to program tasks to be done in parallel. (A thread is a flow of control within a program.) We show you how to set up threads and how to deal with thread synchronization. Multithreading has changed a great deal in Java SE 5.0, and we tell you all about the new mechanisms.
The Appendix lists the reserved words of the Java language. Conventions
As is common in many computer books, we use monospace type to represent computer code.
- NOTE: Notes are tagged with “note” icons.
- TIP: Tips are tagged with the “tip” icon.
- CAUTION: When there is danger ahead, we warn you with a “caution” icon.
- C++ NOTE: There are many C++ notes that explain the difference between Java and C++. You can skip over them if you don’t have a background in C++ or if you consider your experience with that language a bad dream of which you’d rather not be reminded.
Java comes with a large programming library or Application Programming Interface (API). When using an API call for the first time, we add a short summary description tagged with an API icon at the end of the section. These descriptions are a bit more informal but, we hope, also a little more informative than those in the official on-line API documentation. We now tag each API note with the version number in which the feature was introduced, to help the readers who don’t use the “bleeding edge” version of Java.
Programs whose source code is on the Web are listed as examples.
Sample CodeThe web site for this book at http://horstmann.com/corejava contains all sample code from the book, in compressed form. You can expand the file either with one of the familiar unzipping programs or simply with the jar utility that is part of the Java Development Kit. See Chapter 2 for more information about installing the Java Development Kit and the sample code.
Most helpful customer reviews
80 of 82 people found the following review helpful.
Even for the most experienced Java programmers
By Mitchell L Model
I am an extremely experienced Java programmer and Ph. D. computer scientist. I write and teach courses and develop technical assessments, so it's important to me to keep up with language developments. While I've bought a great many Java books over the years, I've been neglecting Core Java for many editions, thinking it would no longer be of any use and being tired of repurchasing books. I'm part way through this one, and I am astounded at how much I am discovering, especially about Java 5 & 6 (even though I thought I knew all about their new features). I'm also enjoying the detailed comparisons with C++, as I used to use and teach that too. No matter how much you know about Java I would strongly recommend this book, if only to read all the well-delineated comments and clarifications that appear frequently. A particularly nice feature is that where portions of the API are summarized there are indications of the version in which the feature was added -- it helped reduce my feelings of chagrin when I read something surprising to find that it had been introduced in v6 or was a part of v5 I hadn't yet explored. Unlike so many other books this one provides meaningful and useful examples. I am eagerly anticipating the second volume.
39 of 39 people found the following review helpful.
java for programmers
By Jeanne Boyarsky
"Core Java, Volume I - Fundamentals" is meant to teach Java to developers who already know another language. Or as they put it, "serious programmers ... with a solid background in a language other than Java." This is important as the book assumes a knowledge of programming concepts. As such, the authors can explain OO rather than how a loop works. The syntax diagrams and flow diagrams offer concise explanations.
This edition (the eighth of the book) covers Java 6. I liked that each section was updated to reflect changes to the languages. The authors didn't just tack on some chapters about the new features. They integrated features as they made sense. More importantly, they updated existing examples to reflect the way they would be written if they were initially written today. This gives the reader appropriate exposure as to when to use new features. At the same time, the authors point out what was added in Java 1.4 so you can use it with an older version. There was even a screenshot of Windows Vista in the getting started section.
The book is about 800 pages. Some of this is long classes and API extractions. The authors do highlight important code snippets with explanations first, so it is possible to skip these parts. I did like the feature of the API extractions that showed when methods were introduced.
The authors explain Java in practice well including caveats. There are a few carefully labeled sections that are quite advanced. (proxys and new classloaders.) This is definitely not just an intro book! There was a bit of premature optimization. I don't see a need to worry about whether ArrayList is efficient unless it is a problem. At the same time, it is important to know why things work the way they do.
I recommend this book if you are looking to learn Java or have only used certain pieces of it. Just be sure to read the TOC carefully as the authors branch out. For example, the inheritance chapter covers var args and reflection.
9 of 9 people found the following review helpful.
At last! A Java book that reaches this "Perl-programmer in transition"
By Thomas Long
I am a self-taught Perl programmer. I've been using Perl 5 for about eight years, and in the last couple of years I've been wanting to move to Java. I've tried so many books - Herb Schildt's "Beginning Java" (too easy and boring examples), Deitels' gigantic volume (worthless crap - as are all of Deitel's stuff; I mean, do you really need to waste a chapter teaching would-be Java coders UML?), Cadenhead's "Teach Yourself Java 6 in 21 days" (left too many holes; not enough depth in critical areas, and lots of mistakes), etc. I finally found this book and ordered it. This is the one I should have been using all along.
When you work through this book, you get the sense that you are being taught by a real Java guru, an author who isn't going to leave you hanging. This is a serious text, and as others have noted -- it isn't for a new programmer. Having said that, it is perfect for anyone coming to Java from another language. About the only critical remark I would have is that I think the chapters on error-handling and on collections might have been better placed ahead of the chapters on Swing; as it is, the Swing stuff seems a little bit of a diversion in the middle of the book. But fortunately, this book is so well done that you can easily jump forward a couple of chapters, then back one, etc. Indeed, there are some places where the author simply says stuff like "the rest of this chapter may be more relevant to the tool-builder than to the application programmer; application programmers may want to skip ahead to the next chapter." To me, that represents an honest writer who has years of experience teaching people Java.
A word of advice: if you are the kind of person that learns best from little exercises, strict tutorials, etc., you may not want this book (except as a reference). If, on the other hand, you like trying out the stuff by applying it "in your own world" so to speak, this book is ideal; you should be sufficiently inspired to adapt the examples, etc., to your own liking.
I have worked through just about all of the book in about a month, and I am now confidently "converting" some of my Perl stuff over to Java. This book has given me a real love of Java, and I look forward to working my way through Volume II when I finish this one.
Core Java, Volume I--Fundamentals (8th Edition), by Cay S. Horstmann, Gary Cornell PDF
Core Java, Volume I--Fundamentals (8th Edition), by Cay S. Horstmann, Gary Cornell EPub
Core Java, Volume I--Fundamentals (8th Edition), by Cay S. Horstmann, Gary Cornell Doc
Core Java, Volume I--Fundamentals (8th Edition), by Cay S. Horstmann, Gary Cornell iBooks
Core Java, Volume I--Fundamentals (8th Edition), by Cay S. Horstmann, Gary Cornell rtf
Core Java, Volume I--Fundamentals (8th Edition), by Cay S. Horstmann, Gary Cornell Mobipocket
Core Java, Volume I--Fundamentals (8th Edition), by Cay S. Horstmann, Gary Cornell Kindle
Tidak ada komentar:
Posting Komentar