Java: adjust examples

This commit is contained in:
Chris Lu 2021-02-04 21:02:54 -08:00
parent 9fa7977714
commit 42e5ef4b01
3 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ import java.io.InputStream;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
public class UnzipFile {
public class ExampleReadFile {
public static void main(String[] args) throws IOException {

View file

@ -7,7 +7,7 @@ import java.io.IOException;
import java.util.Date;
import java.util.Iterator;
public class WatchFiles {
public class ExampleWatchFileChanges {
public static void main(String[] args) throws IOException {

View file

@ -9,7 +9,7 @@ import java.io.InputStream;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
public class WriteFile {
public class ExampleWriteFile {
public static void main(String[] args) throws IOException {