Autor:
Broj strana: 952
ISBN broj: 9781838649968
Izdavač:
PACKT PUBLISHING
Godina izdanja: 2019.
![]() |
![]() |
![]() |
![]() |
![]() |
||||
You already know you want to learn Java, but which approach works best for you? Whether you want to build web applications, enterprise software, or work on your own side projects The Java Workshop is heavily geared towards getting you build-ready for the real world. A step-by-step approach to learning helps you develop and reinforce key skills in a way that feels engaging and rewarding, without dragging you down into long-running lectures on dry, underlying theory. We use real examples that lead to real results. As you progress through The Java Workshop, you’ll find key concepts broken down into convenient, individual sections. Designed to accommodate short reading sessions as well as intense, laser-focused study, you’ll find that the included step-by-step exercises and open-ended activities help you embed and reinforce what you’ve learned in a hands-on, practical context. With every chapter carefully designed to let you learn at your own pace, you get to decide how quickly you progress and how you fit learning within your schedule. With its explicit focus on demonstrating how you can be successful with Java, The Java Workshop is ideal for those who want to get their hands dirty and learn by doing. Pick one up today, and we’ll help you get the job done.
Table of contents
1 Getting Started
Introduction
Writing, Compiling, and Executing Your Hello World Program
Summary
2 Learning the Basics
Introduction
Controlling the Flow of Your Programs
Looping and Performing Repetitive Tasks
Handling Command-Line Arguments
Summary
3 Object-Oriented Programming
Introduction
Working with Objects in Java
Checking the Precedence of a Class with instanceof
Inheritance in Java
Overriding and Hiding Methods
Overloading Methods and Constructors
Recursion
Annotations
Interfaces
Inner Classes
Documenting with JavaDoc
Summary
4 Collections, Lists, and Java's Built-In APIs
Introduction
Arrays
Sets
Lists
Maps
Iterating through Collections
Sorting Collections
Properties
Summary
5 Exceptions
Introduction
A Simple Exception Example
NullPointerException – Have No Fear
Catching Exceptions
Throws and Throw
The finally Block
Best Practices for Handling Exceptions
Where Do Exceptions Come from?
Summary
6 Libraries, Packages, and Modules
Introduction
Organizing Code into Packages
Summary
7 Databases and JDBC
Introduction
Relational Databases
Relational Database Management Systems
Introducing SQL
Summary
8 Sockets, Files, and Streams
Introduction
Listing Files and Directories
Creating and Writing to a File
Reading an Existing File
Reading a Properties File
Summary
9 Working with HTTP
Introduction
Exploring HTTP
Using HttpUrlConnection
Dealing with Slow Connections
Creating HTTP POST Requests
Parsing HTML Data
Delving into the java.net.http Module
Summary
10 Encryption
Introduction
Symmetric Key Encryption
Block Ciphers
Asymmetric Key Encryption
Encrypting Files
Summary
11 Processes
Introduction
Launching a Process
Capturing the Output of a Child Process
Storing the Output of a Child Process in a File
Summary
12 Regular Expressions
Introduction
Decrypting Regular Expressions
Regular Expressions in Java
Summary
13 Functional Programming with Lambda Expressions
Introduction
Functional Programming
Pure Functions
Lambda Expressions
Summary
14 Recursion
Introduction
Delving into Recursion
Summary
15 Processing Data with Streams
Introduction
Creating Streams
Intermediate Operations
Using Collectors
Summary
16 Predicates and Other Functional Interfaces
Introduction
Predicate Interface
Activity 1: Toggling the Sensor states
Function
Summary
17 Reactive Programming with Java Flow
Introduction
Publisher
Subscriber
Processor
Summary
18 Unit Testing
Introduction
Getting Started with Unit Tests
Summary
19 Reflection
Introduction
Reflection Basics
Summary
20 Optionals
Introduction
Summary
21 References
Introduction
Java Memory Management
Memory Leaks
Summary
22 Concurrent Tasks
Introduction
Thread Class versus Runnable Interfaces
Summary
23 Using the Future API
Introduction
Futures
Thread Pools
The Fork/Join Framework
Summary
Budite prvi koji će ostaviti komentar.
Cena: 2750 rsd
Popust i do: 1678 rsd
Cena: 2970 rsd
Popust i do: 1812 rsd
© Sva prava pridržana, Kompjuter biblioteka, Beograd, Obalskih radnika 4a, Telefon: +381 11 252 0 272 |
||