File.pathSeparatorChar
/* * Output: pathSeparatorChar = ; */ import java.io.File; public class MainClass { public static void main(String args[]) { try { System.out.println("pathSeparatorChar = " + File.pathSeparatorChar); } catch (Exception e) { e.printStackTrace(); } } }