Find out why thousands have turned to Ivor Horton for learning Java
Ivor Horton’s approach is teaching Java is so effective andpopular that he is one of the leading authors of introductoryprogramming tutorials, with over 160, 000 copies of his Java bookssold. In this latest edition, whether you’re a beginner or anexperienced programmer switching to Java, you’ll learn how to buildreal-world Java applications using Java SE 7. The author thoroughlycovers the basics as well as new features such as extensions andclasses; extended coverage of the Swing Application Framework; andhe does it all in his unique, highly accessible style thatbeginners 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 andexperienced programmers
* Covers the basics as well as new language extensions andclasses and class methods
* Guides you through the Swing Application Framework for creating Swing apps
* Uses numerous step-by-step programming examples to guide youthrough the development process
There’s no better way to get thoroughly up to speed on thelatest version of Java than with Ivor Horton’s latest, comprehensive guide.
สารบัญ
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
เกี่ยวกับผู้แต่ง
Ivor Horton is one of the preeminent authors of tutorials on the Java, C, and C++ programming languages. He is widely known for the tutorial style of his books, which provide step-by-step guidance easily understood even by first-time programmers. Horton is also a systems consultant in private practice.