Java SE 7 programming essentials
Learn core programming concepts and technologies on the leading software development language This full-color book covers fundamental Java programming concepts and skills for those new to software development and programming. Taking a straightforward and direct approach,Java SE 7 Programming Essent...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Indianapolis, Indiana :
Wiley
2013.
|
Edición: | 1st edition |
Colección: | Serious skills.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628575706719 |
Tabla de Contenidos:
- Java SE7 Programming Essentials; Acknowledgments; About the Author; Contents at a Glance; Contents; Introduction; Chapter 1: Introducing the Basics of Java; Understanding Java Class Structure; Writing a main() Method; Importing Other Java Classes; Understanding Variable Scope in Java Code; The Essentials and Beyond; Chapter 2: Applying Data Types in Java Programming; Creating, Using, and Destroying Objects; Distinguishing between Object References and Primitives; Declaring and Initializing Variables; Default Initialization of Variables; Reading and Writing Object Fields
- Using the StringBuilder Class and Its MethodsCreating and Manipulating Strings; The Essentials and Beyond; Chapter 3: Using Java Operators and Conditional Logic; Using Java Operators; Using Parentheses to Control Operators; Understanding Object Equality; Using if and if/else Statements; Using a switch Statement; The Essentials and Beyond; Chapter 4: Using Java Arrays; Understanding Java Arrays; Using a One-Dimensional Array; Using a Multi-Dimensional Array; Using an ArrayList Object; The Essentials and Beyond; Chapter 5: Using Loops in Java Code; Applying while Loops; Applying do/while Loops
- Applying for and For-Each LoopsComparing Loop Constructs; Using continue and break Statements; The Essentials and Beyond; Chapter 6: Encapsulating Data and Exposing Methods in Java; Encapsulating Data; Exposing Data through Methods; Applying Access Modifiers; Abstracting Data; The Essentials and Beyond; Chapter 7: Using Java Methods to Communicate; Designing Methods; Overloading Methods; Declaring Methods and Fields static; Passing Data among Methods; The Essentials and Beyond; Chapter 8: Using Java Constructors; Using the Default Constructor; Defining Alternate Constructors
- Adding Parameters to ConstructorsOverloading Constructors; The Essentials and Beyond; Chapter 9: Inheriting Code and Data in Java; Extending a Class; Using the super Keyword; Overriding a Method; Casting Objects; Implementing Polymorphic Behavior; The Essentials and Beyond; Chapter 10: Understanding Java Interfaces and Abstract Classes; Understanding Abstract Types; Using Abstract Classes; Using Interfaces; Using the enum Type; Distinguishing between Abstract and Concrete References; The Essentials and Beyond; Chapter 11: Throwing and Catching Exceptions in Java
- Understanding the Role Exceptions PlayUsing a try-catch Block; Understanding Exception Types; Calling Methods That Throw Exceptions; Recognizing Common Exception Types; The Essentials and Beyond; Appendix A: Answers to Review Questions; Chapter 1: Introducing the Basics of Java; Chapter 2: Applying Data Types in Java Programming; Chapter 3: Using Java Operators and Conditional Logic; Chapter 4: Using Java Arrays; Chapter 5: Using Loops in Java Code; Chapter 6: Encapsulating Data and Exposing Methods in Java; Chapter 7: Using Java Methods to Communicate; Chapter 8: Using Java Constructors
- Chapter 9: Inheriting Code and Data in Java