Mega Code Archive

 
Categories / Java by API / Java Lang
 

System out printf(%s

/**  * Output:     http://host/path      */ public class MainClass {   public static void main(String args[]) throws Exception {     System.out.printf("%s://%s/%s\n", "http", "host", "path");   } }