Java 7 for Absolute Beginners [electronic resource] /
Bryant, Jay.author.
Java 7 Programming for Absolute Beginners introduces the new core, open source Java Development Kit. Its focus is on practical knowledge and its completeness—it provides all the bits and pieces an utter novice needs to get started programming in Java.   It seems as if everyone is writing applications or apps these days for Android, BlackBerry, and the enterprise—it's where the money's at. But, how do they do it? Well, it's best to start by learning Java, one of the most popular programming languages around these days, still. Yes, that's right.  This book: Teaches Java development in language anyone can understand, giving you the best possible start Provides simple, step-by-step examples that make learning easy, allowing you to pick up the concepts without fuss Offers clear code descriptions and layout so that you can get your code running as soon as possible.
Title Page; Copyright Page; Contents at a Glance; Table of Contents; Foreword; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Who This Book Is For; How This Book Is Structured; Conventions; Prerequisites; CHAPTER 1 Writing Your First Java Program; Installing the JDK; Installing Eclipse; Creating Your First Project; Creating the Program; Adding More Functionality; Further Development; About Java Objects; Summary; CHAPTER 2 Java Syntax; An Example; Lines; Avoid Overly Complex Code; Package Declaration; Imports; Classes; Fields; Constants; Methods; Constructors
Access ModifiersInterfaces; Exceptions; Blocks; Comments; Summary; CHAPTER 3 Data Types; Primitive Data Types; Integer Primitives; Real Primitives; boolean; char; The Special Type: String; Literals; Escaping Characters; Wrapper Classes; Arrays; The Non-Existent Type: null; Enumerations; Summary; CHAPTER 4 Operators; Operator Precedence; The Missing Operator: Parentheses; Postfix Operators; Unary Operators; Understanding the Bitwise Complement Operator; Casting; Multiplicative Operators; Additive Operators; Shift Operators; Relational Operators; Equality Operators; Bitwise AND Operator (&)
Bitwise Exclusive OR Operator (^)Bitwise Inclusive OR Operator (|); Logical AND Operator (&&); Logical OR Operator (||); Assignment Operators; Comparing and Sorting Objects; Implementing the equals Method; Comparisons for Sorting; Implementing java.lang.Comparable; Summary; CHAPTER 5 Control Flow, Looping, and Branching; Control Flow; if and if-else Statements; switch Statements; Looping; For Loops; While loops; Do-while Loops; Branching; The break Statement; The continue Statement; The return Statement; Summary; CHAPTER 6 Object-oriented Programming; Objects; Encapsulation; Inheritance
Multiple InheritanceModeling Behavior through Interfaces; Abstract Classes; Methods in Abstract Classes; Static Members; Polymorphism; Our Animals in Java; A Lesson about Granularity; Pass-by-Reference and Pass-by-Value; Summary; CHAPTER 7 Writing a User Interface; Java Swing: The Basics; A Basic Swing Application; A Larger Swing Application; Summary; CHAPTER 8 Writing and Reading Files; Working with File Objects; Opening a File; Deleting a File; Working with Temporary Files; Creating a Directory; Deleting a Directory; Deleting Multiple Directories; Writing and Reading Content
Merrily Down the StreamReading a File's Content; Writing a File's Content; Summary; CHAPTER 9 Writing and Reading XML; The Structure of XML; XML and Streams; DOM and SAX; Writing XML; Writing XML with DOM; Writing XML with Strings; Reading XML; Reading XML with DOM; Reading XML with SAX; A Word about Factory Classes; Summary; CHAPTER 10 Animation; Timing Is Everything; Animation: A Simple Example; Animating Multiple Items; Sprite Animation; Summary; CHAPTER 11 Debugging with Eclipse; The Flow of Debugging; Debugging without a Debugger; Starting the Eclipse Debugger; Breakpoints and Variables
Setting a Line Breakpoint
Includes index.
Includes index.
Java 7 Programming for Absolute Beginners introduces the new core, open source Java Development Kit. Its focus is on practical knowledge and its completeness—it provides all the bits and pieces an utter novice needs to get started programming in Java.   It seems as if everyone is writing applications or apps these days for Android, BlackBerry, and the enterprise—it's where the money's at. But, how do they do it? Well, it's best to start by learning Java, one of the most popular programming languages around these days, still. Yes, that's right.  This book: Teaches Java development in language anyone can understand, giving you the best possible start Provides simple, step-by-step examples that make learning easy, allowing you to pick up the concepts without fuss Offers clear code descriptions and layout so that you can get your code running as soon as possible.
Java (Computer program language).
Software engineering.
Java.
Software Engineering/Programming and Operating Systems.