Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

JAVA IN 21 DAYS, SAMS TEACH YOURSELF (COVERING JAVA 8) 7E
Título:
JAVA IN 21 DAYS, SAMS TEACH YOURSELF (COVERING JAVA 8) 7E
Subtítulo:
Autor:
CADENHEAD, R
Editorial:
PEARSON
Año de edición:
2016
Materia
JAVA
ISBN:
978-0-672-33710-9
Páginas:
720
40,95 €

 

Sinopsis

In just 21 days you can acquire the knowledge and skills necessary to develop applications on your computer and apps that run on Android phones and tablets. With this complete tutorial you'll quickly master the basics and then move on to more advanced features and concepts.



Completely updated for Java 8, this book teaches you about the Java language and how to use it to create applications for any computing environment and Android apps. By the time you have finished the book, you'll have well-rounded knowledge of Java and the Java class libraries. Using your new skills, you will be able to develop your own programs for tasks such as web services, database connectivity, XML processing, and mobile programming.



No previous programming experience required. By following the 21 carefully organized lessons in this book, anyone can learn the basics of Java programming.

Learn at your own pace. You can work through each chapter sequentially to make sure you thoroughly understand all the concepts and methodologies, or you can focus on specific lessons to learn the techniques that interest you most.


Test your knowledge. Each chapter ends with a Workshop section filled with questions, answers, and exercises for further study. There are even certification practice questions.

Completely revised, updated, and expanded to cover the latest features of Java 8
Learn to develop Java applications and Android apps using NetBeans and Google's new Android Studio -- two excellent (and free!) programming platforms
Covers new features of Java 8 such as closures, the most eagerly anticipated language feature in years
Easy-to-understand, practical examples clearly illustrate the fundamentals of Java programming
Discover how Swing can help you quickly develop programs with a graphical user interface
Find out about JDBC 4.2 programming with the Derby database and XML parsing with the open source XOM class library
Learn how to use streams to write programs that communicate with the Internet, including socket programming, buffers, channels, and URL handling.
Contents at a Glance
WEEK 1: The Java LanguageDAY 1 Getting Started with JavaDAY 2 The ABCs of ProgrammingDAY 3 Working with ObjectsDAY 4 Lists, Logic, and LoopsDAY 5 Creating Classesand MethodsDAY 6 Packages, Interfaces, and Other Class FeaturesDAY 7 Exceptions and Threads
WEEK 2: The Java Class LibraryDAY 8 Data StructuresDAY 9 Working with SwingDAY 10 Building a Swing InterfaceDAY 11 Arranging Components on a User InterfaceDAY 12 Responding to User InputDAY 13 Creating Java2D GraphicsDAY 14 Developing Swing Applications
WEEK 3: Java ProgrammingDAY 15 Working with Input and OutputDAY 16 Using Inner Classes and ClosuresDAY 17 Communicating Across the InternetDAY 18 Accessing Databases with JDBC 4.2 and DerbyDAY 19 Reading and Writing RSS FeedsDAY 20 XML Web ServicesDAY 21 Writing Android Apps for Java
APPENDIX A Using the NetBeans IDEAPPENDIX B This Book's WebsiteAPPENDIX C Fixing a Problem with the Android Studio EmulatorAPPENDIX D Using the Java Development KitAPPENDIX E Programming with the Java Development Kit



Introduction



WEEK I: The Java Language


DAY 1: Getting Started with Java
The Java Language
History of the Language
Introduction to Java
Selecting a Development Tool
Object-Oriented Programming
Objects and Classes
Attributes and Behavior
Attributes of a Class of Objects
Behavior of a Class of Objects
Creating a Class
Running the Program
Organizing Classes and Class Behavior
Inheritance
Creating a Class Hierarchy
Inheritance in Action
Interfaces
Packages

DAY 2: The ABCs of Programming
Statements and Expressions
Variables and Data Types
Creating Variables
Naming Variables
Variable Types
Assigning Values to Variables
Constants
Comments
Literals
Number Literals
Boolean Literals
Character Literals
String Literals
Expressions and Operators
Arithmetic
More About Assignment
Incrementing and Decrementing
Comparisons
Logical Operators
Operator Precedence
String Arithmetic

DAY 3: Working with Objects
Creating New Objects
How Objects Are Constructed
A Note on Memory Management
Using Class and Instance Variables
Getting Values
Setting Values
Class Variables
Calling Methods
Formatting Strings
Nesting Method Calls
Class Methods
References to Objects
Casting Objects and Primitive Types
Casting Primitive Types
Casting Objects
Converting Primitive Types to Objects and Vice Versa
Comparing Object Values and Classes
Comparing Objects
Determining the Class of an Object

DAY 4: Lists, Logic, and Loops
Arrays
Declaring Array Variables
Creating Array Objects
Accessing Array Elements
Changing Array Elements
Multidimensional Arrays
Block Statements
If Conditionals
Switch Conditionals
The Ternary Operator
For Loops
While and Do Loops
While Loops
Do-While Loops
Breaking Out of Loops
Labeled Loops

DAY 5: Creating Classes and Methods
Defining Classes
Creating Instance and Class Variables
Defining Instance Variables
Class Variables
Creating Methods
Defining Methods
The this Keyword
Variable Scope and Method Definitions
Passing Arguments to Methods
Class Methods
Creating Java Applications
Helper Classes
Java Applications and Arguments
Passing Arguments to Java Applications
Handling Arguments in Your Java Application
Creating Methods with the Same Name
Constructors
Basic Constructors
Calling Another Constructor
Overloading Constructors
Overriding Methods
Creating Methods That Override Existing Methods
Calling the Original Method
Overriding Constructors

DAY 6: Packages, Interfaces, and Other Class Features
Modifiers
Access Control for Methods and Variables
Static Variables and Methods
Final Classes, Methods, and Variables
Variables
Methods
Classes
Abstract Classes and Methods
Packages
The import Declaration
Class Name Conflicts
Creating Your Own Packages
Picking a Package Name
Creating the Folder Structure
Adding a Class to a Package
Packages and Class Access Control
Interfaces
The Problem of Single Inheritance
Interfaces and Classes
Implementing and Using Interfaces
Implementing Multiple Interfaces
Other Uses of Interfaces
Creating and Extending Interfaces
New Interfaces
Methods Inside Interfaces
Extending Interfaces
Creating an Online Storefront

DAY 7: Exceptions and Threads
Exceptions
Exception Classes
Managing Exceptions
Exception Consistency Checking
Protecting Code and Catching Exceptions
The finally Clause
Declaring Methods That Might Throw Exceptions
The throws Clause
Which Exceptions Should You Throw
Passing on Exceptions
throws and Inheritance
Creating and Throwing Exceptions
Throwing Exceptions
Creating Your Own Exceptions
Combining throws, try, and throw
When Not to Use Exceptions
Bad Style Using Exceptions
Threads
Writing a Threaded Program
A Threaded Application
Stopping a Thread


WEEK II: The Java Class Library


DAY 8: Data