Mega Code Archive

 
Categories / Java Tutorial / Development
 

STRING

import java.net.MalformedURLException; import java.net.URL; public class MainClass {   public static void main(String[] args) throws MalformedURLException {     URL u = new URL("http://www.rntsoft.com");     System.out.printf("string:    %s\n", u);       } } string: http://www.rntsoft.com