January 2020
Beginner
672 pages
18h 17m
English
Java was initially developed as a language to control a network of interactive consumer devices. Connecting machines was one of the main purposes of the language when it was designed—and that is still one of the purposes of Java today.
The java.net package makes it possible to communicate over a network, providing cross-platform abstractions to make connections, transfer files using common web protocols, and create sockets.
When the java.net package is used in conjunction with input and output streams, reading and writing files over the network becomes as easy as reading or writing files on disk.
The java.nio package expands Java’s input and output classes.
In this lesson you’ll write networking Java programs ...
Read now
Unlock full access