摘要:
public class ClientSocket { public static void main(String args[]) { String host = "127.0.0.1"; int port = 8919; try { Socket client = new Socket(host 阅读全文
摘要:
public class Test{ public static void main(String[] args) throws IOException{ FileInputStream in = null; BufferedInputStream bis =null; FileOutputStre 阅读全文
摘要:
public class Test{ public static void main(String[] args) throws Exception{ /*DecimalFormat参数,如果是0则会显示0,如果是#怎不显示0*/ DecimalFormat df = new DecimalForm 阅读全文