Constructing a Filename Path - Java File Path IO

Java examples for File Path IO:Path

Description

Constructing a Filename Path

Demo Code

import java.io.File;

public class Main {
  public static void main(String[] argv) {
    String path = File.separator + "a" + File.separator + "b";
  }/*  ww w  . j a  v  a 2  s .com*/
}

Related Tutorials