import java.net.*; import java.io.*; public class ipadd { public static void main(String [] args) { try { InetAddress thisIp =InetAddress.getLocalHost(); System.out.println("IP:"+thisIp.getHostAddress()); } catch(Exception e) { e.printStackTrace(); } } }
cijiiiiiiiiii wrote:how to connect database from java to database.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)