Share on Google+Share on Google+

0 Answer(s)      6 years and a month 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>
Swings - Java Beginners
("Email id"); jLabel14.setText("Adress"); jLabel15.setText("City
help me - Java Beginners
form for new user where name phoneno adress will be there plese i want this  
Java Spring Hibernate Struts Training java.lang.classnotfoundexception com.mysql.jdbc.driver how to retrieve text and images from mysql database and show on html page using jsp servlet How to install Neo4j on Ubuntu 15.10? please help me in these prog MYSQL - mysql copy table to another table example by creating new table solution for mapping hibernate and pojos from net beans through database Connect GWT application with Oracle inventory System of Medical Store inventory System of Medical Store inventory System of Medical Store inventory System of Medical Store This code have created jTable that connected with a database.every cell of last column have a button.But this button doesn't work properly.Where is the error java program Java Database Program jdbc Database connection class in a live project ..?? What is JDBC architecture? Unable to Create DSN for excel to ms access importing data and edit that data Database Scrolling Buttons how to use foreign key in java How to delete content of a log file from linux terminal? JSP-Oracle connectivity Student Management System Java code for Saving Marathi (Indian local language ) in Mysql and retrieving the same crud operations with foreign key constraint. I really need help with this assignment question Please help me out Please Backup Failed Mysqldump Got Errno 28 On Write Upgrade MySQL 5.1 to 5.5 in cpanel mysqldump all databases com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jpa.sequence' doesn't exist persistence xml class element persistence.xml for MySQL MySQL JDBC Driver pom dependency code Blob column jdk6 and oracle 8i connexion oracle 8i et jdk6 java [ cannot retrive date from sql ] why?? Order Entry System How to threow timeout exception when DB is not responding How to threow timeout exception when DB is not responding This is the employee form to add data to mysql database but I got error of NullPointerException, Is this write code please give me feedback as soon as possible make a method which takes user name & pwd as parameter & validate them against the database. If the corresponding user exist return true otherwise false. prabhakar validating credentials and displaying error message in login .jsp if not valid JDBC jdbc jdbc code register servlet vibhu


Advertisement null