Java

Java I/O 01. The File class – checking file properties and attributes



We will cover java’s File class in this tutorial.

The following code may have been modified to meet Youtube’s guidelines. Please go to to download the actual files.

/**
* GUI File Chooser
* You can also have the user choose a file through a GUI
* This GUI is from javax.swing.JFileChooser
**/

import javax.swing.JFileChooser;
import java.util.Scanner;
import java.io.File;

public class…

Leave a Reply

Your email address will not be published. Required fields are marked *