adress
Lucy gives the following code to her team to get the address of the server in a
network-based application:
import java.net.*;
public class {
public static void main(String args[]) {
try{
InetAddress add = InetAddress.getInetAddress("192.168.0.70");
System.out.println(add.toString());
}catch(Exception e){
System.out.println("Error " + e);
}
}
}
Predict the output of the preceding code if the connection with the server is closed.
View Answers
Related Tutorials/Questions & Answers:
hackinghacking how to hack the ip
adress by java coading
Advertisements
XMPP - WebSevicesXMPP Hi,
Can you please provide a sample code in Java to recieve and retrieve "To"
adress or data embbedded in XMPP
run project on company lanrun project on company lan sir, i have create dynamic java project of complaint registration and run on local host http://localhost:8080 and by using ip
adress but the problem is how to run it at on company server so
SQL and JSPSQL and JSP 1.sql database
1.store login and password details along with user name
2.list of employees with all relevant personal details like DOB,Education,
Adress,Contact no,etc..
how to create these two tables