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

Answer Posted / deepak divvela

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

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are observer and observable used in java programming?

537


Can we create constructor in abstract class ?

572


How to split a string in java?

621


How do you sort arraylist in descending order?

570


What is java used for on a computer?

502






Can you run java program without main method?

541


Is zero a natural number?

556


How to print nodes of a Binary tree?

1750


What technique is carried out to find out if a particular string is empty?

560


What is number data type in java?

545


What are the topics in advance java?

503


What are checked exceptions?

573


What is prime number in java?

530


Will set allow duplicates in java?

497


What is collection class in java? List down its methods and interfaces.

518