Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


I want to know the host name and provider name for tcs web
mail

Answers were Sorted based on User's Feedback



I want to know the host name and provider name for tcs web mail..

Answer / deepak divvela

String hostname=Inetaddress.getAddress("portno of tcs
mail").getHostName();

Is This Answer Correct ?    8 Yes 2 No

I want to know the host name and provider name for tcs web mail..

Answer / abhilash

String hostname= InetAddress.getByName("portno of tcs
mail").getHostName();

Is This Answer Correct ?    4 Yes 3 No

I want to know the host name and provider name for tcs web mail..

Answer / ajay agarwal

String hostname=Inetaddress.getAddress("portno of tcs
mail").getHostName();

Is This Answer Correct ?    1 Yes 0 No

I want to know the host name and provider name for tcs web mail..

Answer / shaik baji

import java.net.*;
class GetIPAddress
{
public static void main(String[] args) throws
Exception
{
InetAddress obj = InetAddress.getLocalHost
();
String ipAddress=obj.getHostAddress();

System.out.println(ipAddress);
}
}

Is This Answer Correct ?    1 Yes 1 No

I want to know the host name and provider name for tcs web mail..

Answer / ss

String ipAddress=InetAddress.getByName
("www.tcs.com").getHostAddress();

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Core Java Interview Questions

Is it safe to install java on my computer?

0 Answers  


In java, how we can disallow serialization of variables?

0 Answers  


How does system arraycopy work in java?

0 Answers  


What is t in parametric equations?

0 Answers  


what is struts-config-xml?and its use?

3 Answers  


how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

0 Answers   SAP Labs,


Can private members of a base class are inheritable justify?

0 Answers  


what happens when we add the objects morethan the size limit to a hashmap

1 Answers  


What is meant by null and void?

0 Answers  


What does  mean in regex?

0 Answers  


Why Static variable required in java?For ex,class A { static int a; int b; } Why static is required?

5 Answers   Ericsson,


What is files manifesting?

0 Answers  


Categories