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

Answer Posted / ajay agarwal

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

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is this keyword in java?

559


What is the SimpleTimeZone class?

1790


What is class variable java?

578


What is final keyword?

632


Give me some null interfaces in java?

597






How do you declare an array that will hold more than 64KB of data?

634


What is the difference between path and classpath variables?

518


What mechanism does java use for memory management?

486


What is purpose of applet programming?

631


What is the main use of generics in java?

502


How to perform selection sort in java?

573


What is the difference between method overriding and overloading?

570


Print Vertical traversal of a Binary Tree.

601


Is integer a class?

560


What is lambda in java?

511