Search:

Type: Posts; User: jnewb

Search: Search took 0.30 seconds.

  1. Replies
    9
    Views
    2,128

    Re: Strange errors with java.nio.file

    Thank you so much! Giving it a integer parameter does work


    System.out.println("File name is " + filePath.getName(0));


    another errors that might be related to nio class


    import...
  2. Replies
    9
    Views
    2,128

    Strange errors with java.nio.file

    Hello, I am learning some basic file operations in Java and running into a strange error. Code in my Java textbook is shown below:


    import java.nio.file.*;

    public class PathDemo
    {
    public...
Results 1 to 2 of 2