Join GURUSeed

Create your account on

Java for Programmers

Views: 520
( 260 )
Publisher: Prentice Hall
Country of Publication: United States
Table of Content:
Preface xxi Before You Begin xxix Chapter 1 Introduction 1 1.1 Introduction 2 1.2 Introduction to Object Technology 2 1.3 Open Source Software 5 1.4 Java and a Typical Java Development Environment 7 1.5 Test-Driving a Java Application 11 1.6 Web 2.0 Going Social 15 1.7 Software Technologies 18 1.8 Keeping Up to Date with Information Technologies 20 1.9 Wrap-Up 21 Chapter 2 Introduction to Java Applications 22 2.1 Introduction 23 2.2 Your First Program in Java Printing a Line of Text 23 2.3 Modifying Your First Java Program 27 2.4 Displaying Text with printf 29 2.5 Another Application Adding Integers 30 2.6 Arithmetic 34 2.7 Decision Making Equality and Relational Operators 35 2.8 Wrap-Up 38 Chapter 3 Introduction to Classes Objects Methods and Strings 39 3.1 Introduction 40 3.2 Declaring a Class with a Method and Instantiating an Object of a Class 40 3.3 Declaring a Method with a Parameter 44 3.4 Instance Variables set Methods and get Methods 47 3.5 Primitive Types vs. Reference Types 52 3.6 Initializing Objects with Constructors 53 3.7 Floating-Point Numbers and Type double 56 3.8 Wrap-Up 60 Chapter 4 Control Statements Part 1 61 4.1 Introduction 62 4.2 Control Structures 62 4.3 if Single-Selection Statement 64 4.4 if...else Double-Selection Statement 65 4.5 while Repetition Statement 68 4.6 Counter-Controlled Repetition 70 4.7 Sentinel-Controlled Repetition 73 4.8 Nested Control Statements 78 4.9 Compound Assignment Operators 81 4.10 Increment and Decrement Operators 82 4.11 Primitive Types 85 4.12 Wrap-Up 85 Chapter 5 Control Statements Part 2 86 5.1 Introduction 87 5.2 Essentials of Counter-Controlled Repetition 87 5.3 for Repetition Statement 89 5.4 Examples Using the for Statement 92 5.5 do...while Repetition Statement 96 5.6 switch Multiple-Selection Statement 98 5.7 break and continue Statements 105 5.8 Logical Operators 107 5.9 Wrap-Up 113 Chapter 6 Methods A Deeper Look 114 6.1 Introduction 115 6.2 Program Modules in Java 115 6.3 static Methods static Fields and Class Math 115 6.4 Declaring Methods with Multiple Parameters 118 6.5 Notes on Declaring and Using Methods 121 6.6 Argument Promotion and Casting 122 6.7 Java API Packages 123 6.8 Case Study Random-Number Generation 125 6.9 Case Study A Game of Chance Introducing Enumerations 130 6.10 Scope of Declarations 134 6.11 Method Overloading 137 6.12 Wrap-Up 139 Chapter 7 Arrays and ArrayLists 140 7.1 Introduction 141 7.2 Arrays 141 7.3 Declaring and Creating Arrays 143 7.4 Examples Using Arrays 144 7.5 Case Study Card Shuffling and Dealing Simulation 153 7.6 Enhanced for Statement 157 7.7 Passing Arrays to Methods 159 7.8 Case Study Class GradeBook Using an Array to Store Grades 162 7.9 Multidimensional Arrays 167 7.10 Case Study Class GradeBook Using a Two-Dimensional Array 171 7.11 Variable-Length Argument Lists 177 7.12 Using Command-Line Arguments 178 7.13 Class Arrays 180 7.14 Introduction to Collections and Class ArrayList 183 7.15 Wrap-Up 186 Chapter 8 Classes and Objects A Deeper Look 187 8.1 Introduction 188 8.2 Time Class Case Study 188 8.3 Controlling Access to Members 192 8.4 Referring to the Current Object s Members with the this Reference 193 8.5 Time Class Case Study Overloaded Constructors 195 8.6 Defau...
Edition Number: 2nd Revised edition
Category: Web programming  
Publication Date: 2011-04-18
ISBN: 9780132821544
Product Dimension (W x H x D): 178 x 232 x 36 (mm)
Product Weight: 1458 Grams
Format: Paperback / Softback
Pages: 1168
Audience Readership: Tertiary Education US College
Dewey Classification: 6.7600
  • List Price:
    2,160 THB
  • Our Price:
    1,853 THB (Save 14%)
  • Delivery within:


Java for Programmers
The professional programmer s Deitel R guide to Java t development and the powerful Java platform Written for programmers with a background in high-level language programming this book applies the Deitel signature live-code approach to teaching programming and explores the Java language and Java APIs in depth. The book presents concepts in the context of fully tested programs complete with syntax shading code highlighting line-by-line code walkthroughs and program outputs. The book features 200+ complete Java programs with 18 000+ lines of proven Java code and hundreds of tips that will help you build robust applications. Start with an introduction to Java using an early classes and objects approach then rapidly move on to more advanced topics including GUI graphics exception handling generics collections JDBC t web-application development with JavaServer t Faces web services and more. You ll enjoy the Deitels classic treatment of object-oriented programming and the OOD UML R ATM case study including a complete Java implementation. When you re finished you ll have everything you need to build object-oriented Java applications. Practical example-rich coverage of * Java SE 7 * Classes Objects Encapsulation Inheritance Polymorphism Interfaces * Integrated OOP Case Studies * Industrial-Strength 95-Page OOD UML R ATM Case Study * JavaServer t Faces 2.0 Ajax-Enabled Web Apps Web Services Networking * JDBC t SQL Java DB MySQL R * Threads and the Concurrency APIs * I O Types Control Statements Methods * Arrays Generics Collections * Exception Handling Files * GUI Graphics GroupLayout JDIC * Using the Debugger and the API Docs * Online Three-Chapter Introduction to Android t App Development Visit For information on Deitel s Dive Into R Series instructor-led training courses offered at customer sites worldwide visit training or write to Download code examples Check out the growing list of programming Resource Centers Join the Deitel Twitter @deitel and Facebook DeitelFan communities. To receive updates for this book subscribe to the free Deitel R Buzz Online e-mail newsletter at newsletter subscribe.html Comments from Recent Editions Reviewers "Introduces good design practices and methodologies right from the beginning. An excellent starting point for developing high-quality robust Java applications." -Simon Ritter Oracle Corporation "Updated to reflect the state of the art in Java technologies its deep and crystal clear explanations make it indispensable. Excellent coverage of exception handling. A complete introduction to Java networking. Great coverage of multithreading." -Jose Antonio Gonzalez Seco Parliament of Andalusia "Of immense value to practitioners of the object-oriented approach. Demystifies inheritance and polymorphism and illustrates their use in getting elegant simple and maintainable code. The OO design case study presents the object-oriented approach from requirements to Java code." -Vinod Varma Astra Infotech Private Limited " I wish I had this book when I was learning how to program! Good introduction to UML and the software engineering process." -Lance Andersen Oracle "You ll be well on your way to becoming a great Java programmer with this book. The polymorphism and generic collections chapters are excellent." -Peter Pilgrim Java Champion Consultant "The transition from design to implementation is explained powerfully-the reader can easily understand the design issues and how to implement them in Java." -S. Sivakumar Astra Infotech Private Limited "Gives programmers the benefit of the wisdom derived from many years of software development experience!" -Edward F. Gehringer North Carolina State University
+ More

Your Recent History