Skip to main content

Ivor Horton's Beginning Java, Java 7 Edition

Ivor Horton's Beginning Java, Java 7 Edition

Ivor Horton

ISBN: 978-1-118-17341-1

Aug 2011

1152 pages

Select type: E-Book

$29.99

Product not available for purchase

Description

Find out why thousands have turned to Ivor Horton for learning Java

Ivor Horton's approach is teaching Java is so effective and popular that he is one of the leading authors of introductory programming tutorials, with over 160,000 copies of his Java books sold. In this latest edition, whether you're a beginner or an experienced programmer switching to Java, you'll learn how to build real-world Java applications using Java SE 7. The author thoroughly covers the basics as well as new features such as extensions and classes; extended coverage of the Swing Application Framework; and he does it all in his unique, highly accessible style that beginners love.

  • Provides a thorough introduction to the latest version of the Java programming language, Java SE 7
  • Introduces you to a host of new features for both novices and experienced programmers
  • Covers the basics as well as new language extensions and classes and class methods
  • Guides you through the Swing Application Framework for creating Swing apps
  • Uses numerous step-by-step programming examples to guide you through the development process

There's no better way to get thoroughly up to speed on the latest version of Java than with Ivor Horton's latest, comprehensive guide.

Related Resources

Instructor

Request an Evaluation Copy for this title

WELCOME xxix

CHAPTER 1: INTRODUCING JAVA 1

CHAPTER 2: PROGRAMS, DATA, VARIABLES, AND CALCULATION 27

CHAPTER 3: LOOPS AND LOGIC 71

CHAPTER 4: ARRAYS AND STRINGS 113

CHAPTER 5: DEFINING CLASSES 165

CHAPTER 6: EXTENDING CLASSES AND INHERITANCE 221

CHAPTER 7: EXCEPTIONS 279

CHAPTER 8: UNDERSTANDING STREAMS 309

CHAPTER 9: ACCESSING FILES AND DIRECTORIES 335

CHAPTER 10: WRITING FILES 365

CHAPTER 11: READING FILES 415

CHAPTER 12: SERIALIZING OBJECTS 451

CHAPTER 13: GENERIC CLASS TYPES 469

CHAPTER 14: THE COLLECTIONS FRAMEWORK 517

CHAPTER 15: A COLLECTION OF USEFUL CLASSES 565

CHAPTER 16: THREADS 619

CHAPTER 17: CREATING WINDOWS 661

CHAPTER 18: HANDLING EVENTS 733

CHAPTER 19: DRAWING IN A WINDOW 787

CHAPTER 20: EXTENDING THE GUI 845

CHAPTER 21: FILING AND PRINTING DOCUMENTS 913

CHAPTER 22: JAVA AND XML 969

CHAPTER 23: CREATING AND MODIFYING XML DOCUMENTS 1031

APPENDIX A: KEYWORDS 1077

APPENDIX B: COMPUTER ARITHMETIC 1079

INDEX 1085

README FIRST
Download
Complete code download for Ivor Horton's Beginning Java, Java 7 Edition
Download
Exercise Solutions
Download
Errata - Error in Code, Chapter 19
3/26/13
Download
Errata - Error in Code, Chapter 20
3/26/13
Download
Errata - Error in Code, Chapter 23
3/26/13
Download
Errata - Error in Code, Chapter 21
3/26/13
Download
Errata--Error in Figure, 4-13, pg 157
Figure 4-13 is incorrect. The correction has been uploaded.
Download
ChapterPageDetailsDatePrint Run
5Error in Text,Currently reads:
By coding everything yourself you will maximizes your learning experience.

Should read:
By coding everything yourself you will maximize your learning experience.
03/16/2012
6, Figure 1-1Errors in Text,Text accompanying Figure 1-1:

Currently reads: Foot
Should read: Root


Currently reads: Containe a sro zip file that contain
Should read: Contains a src zip file that contains


Currently reads: Cheader files
Should read: C header files
02/12/2012
7Error in Text,Page 7, sentence just before the code sample (MyProgram.java):

Currently reads: Here's a simple program that you use to can try out the compiler:
Should read: Here's a simple program that you can use to try out the compiler:
02/12/2012
16Error in Figure 1.7 Code,//Method to put hat on
public void putHston() {

should read:
public void putHatOn() {
10/18/11
228Error in Text,(second sentence in the second Note box)
Currently Reads:
If it is not, you must specify the -encoding option to tell the compiler about the character encoding for you source code.
Should Read:
If it is not, you must specify the -encoding option to tell the compiler about the character encoding for your source code.
5 June 2015
228Errata in text,Chapter 2, page 28, note at bottom of page:
If you have created the source file Test.java in Unicode you can compile it with the following command:
javac.exe -encoding unicode JavaTest.java
should read
If you have created the source file Test.java in Unicode you can compile it with the following command:
javac.exe -encoding unicode Test.java
20-Jul-17
30Error in Text,Passage: For example you can write the value 1,234,567,890 as the literal 1234567899L or as the literal 1_234_567_890L

Currently reads: 1234567899L
Should read: 1234567890L
02/09/2012
239Error in Text,(third paragraph under Integer Division and Remainder)
Currently Reads:
When the divisor is a negative integer of the largest possible magnitude and the divisor is-1, the result is the same as the dividend, which is negative and therefore violates the rule.
Should Read:
When the dividend is a negative integer of the largest possible magnitude and the divisor is-1, the result is the same as the dividend, which is negative and therefore violates the rule.
5 June 2015
242Error in Text,(paragraph under code)
Currently Reads:
The value stored in number is converted to type a, and that is multiplied by the value of factor
Should Read:
The value stored in number is converted to type long, and that is multiplied by the value of factor
5 June 2015
54Error in Text,5th paragraph:

I can illustrate how this works by assuming the variable indicators contains the binary value 0b1111_1111_0000_1111, which you could also write as the hexadecimal value 0xFF07.

The binary value cited is actually 0xFF0F.
12/9/2011
55Error in Text,Page 55, first table:

Given the mask value of 0b0000_0000_0000_0100, the ~mask value should be 0b1111_1111_1111_1011, not 0b1111_1111_1111_0100.
12/9/2011
259Error in Text,(middle of the paragraph