Share on Google+Share on Google+

0 Answer(s)      6 years and 5 months ago
Posted in : JDBC

Lucy gives the following code to her team to get the address of the server in a network-based application:

import*; public class { public static void main(String args[]) { try{ InetAddress add = InetAddress.getInetAddress(""); 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:
hacking  how to hack the ip adress by java coading
XMPP - WebSevices
XMPP   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 lan
run 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 JSP  1.sql database 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
PHP mail setting - Java Beginners
name $email = "[email protected]"; //senders e-mail adress
Registration page with JavaScript Validation
; } var h=document.forms["RForm"]["Adress"].value; if (h==null || h=="") { alert("please Enter Adress"); return false; } var...; <td width="30%">Adress:<br/></td> <td>
help me - Java Beginners
form for new user where name phoneno adress will be there plese i want this  
Swings - Java Beginners
("Email id"); jLabel14.setText("Adress"); jLabel15.setText("City