head first java second edition

722 3.5K 0
head first java second edition

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

What they’re saying about Head First Praise for Head First Java Praise for other Head First books co-authored by Kathy and Bert Other Java books from O’Reilly Head First Design Patterns Head First Servlets Head First EJB™ Ant: The Definitive Guide™ Better, Faster, Lighter Java™ Enterprise JavaBeans™ Hibernate: A Developer’s Notebook Java™ 1.5 Tiger: A Developer’s Notebook Java™ Cookbook Java™ in a Nutshell Java™ Network Programming Java™ Servlet & JSP Cookbook Java™ Swing JavaServer Faces™ JavaServer Pages™ Programming Jakarta Struts Tomcat: the Definitive Guide Be watching for more books in the Head First series Head First Java ™ Second Edition Wouldn’t it be dreamy if there was a Java book that was more stimulating than waiting in line at the DMV to renew your driver’s license? It’s probably just a fantasy Kathy Sierra Bert Bates Beijing • Cambridge • Köln • Paris • Sebastopol • Taipei • Tokyo Head First Java™ Second Edition Editor: Cover Designer: Interior Designers: Printing History: Creators of the Head First series Kathy Sierra Bert Bates Although Kathy and Bert try to answer as much email as they can, the volume of mail and their travel schedule makes that difficult The best (quickest) way to get technical help with the book is at the very active Java beginners forum at javaranch.com Table of Contents (summary) Intro xxi Breaking the Surface: a quick dip A Trip to Objectville: yes, there will be objects Know Your Variables: primitives and references 49 How Objects Behave: object state affects method behavior 71 Extra-Strength Methods: flow control, operations, and more 95 Using the Java Library: so you don’t have to write it all yourself 125 Better Living in Objectville: planning for the future 165 Serious Polymorphism: exploiting abstract classes and interfaces 197 27 Life and Death of an Object: constructors and memory management 235 10 Numbers Matter: math, formatting, wrappers, and statics 273 11 Risky Behavior: exception handling 315 12 A Very Graphic Story: intro to GUI, event handling, and inner classes 353 13 Work on Your Swing: layout managers and components 399 14 Saving Objects: serialization and I/O 429 15 Make a Connection: networking sockets and multithreading 471 16 Data Structures: collections and generics 529 17 Release Your Code: packaging and deployment 581 18 Distributed Computing: RMI with a dash of servlets, EJB, and Jini 607 A Appendix A: Final code kitchen 649 B Appendix B: Top Ten Things that didn’t make it into the rest of the book 659 Index 677 Table of Contents (the full version) i Intro Your brain on Java Who is this book for? xxii What your brain is thinking xxiii Metacognition xxv Bend your brain into submission xxvii What you need for this book xxviii Technical editors xxx Acknowledgements xxxi ix puzzle answers appendix B Top Ten Reference Five-Minute Mystery Solution you are here 675 the index Index Symbols A See See See also you are here 677 the index See B See also See See C 678 index the index See also E D methods 305 you are here 679 the index See argument 300 G F See also See also 680 index the index See also See also H I you are here 681 the index See J See See K See See 682 index L the index See See See N See also See M O you are here 683 the index See P See See See See 684 index the index See also See also See Q R S See See See See See also you are here 685 the index See also See also See See See See also argument specifier 300 686 index the index T U See also V See W See See you are here 687 the index Don’t you know about the web site? We’ve got answers to some of the Sharpens, examples, the Code Kitchens, Ready-bake Code, and daily updates from the Head First author blogs! 688 index This isn’t goodbye Bring your brain over to wickedlysmart.com ... about Head First Praise for Head First Java Praise for other Head First books co-authored by Kathy and Bert Other Java books from O’Reilly Head First Design Patterns Head First Servlets Head First. .. Cookbook Java? ?? Swing JavaServer Faces™ JavaServer Pages™ Programming Jakarta Struts Tomcat: the Definitive Guide Be watching for more books in the Head First series Head First Java ™ Second Edition. .. System.out.print(“I Rule!”); } } } MyFirstApp .java compiler Save MyFirstApp .java Compile javac MyFirstApp .java Run File Edit Window Help Scream Method Party() aload_0 invokespecial #1

Ngày đăng: 28/04/2014, 15:43

Từ khóa liên quan

Mục lục

  • What they're saying about Head First

  • Praise for Head First Java

  • Praise for other Head First books co-authored by Kathy and Bert

  • Other Java books from O’Reilly

  • Copyright

  • Dedication

  • Intro

  • Chapter 1. Breaking the Surface

    • The Way Java Works

    • What you'll do in Java

    • A very brief history of Java

    • Sharpen your pencil

    • Sharpen your pencil answers

    • Code structure in Java

    • Anatomy of a class

    • Writing a class with a main

    • What can you say in the main method?

    • Looping and looping and...

    • there are no Dumb Questions

    • Conditional branching

    • Coding a Serious Business Application

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan