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
How do you override a method?
Which non-unicode letter characters may be used as the first character of an identifier?
Is list thread safe in java?
What is meant by anonymous class?
What are the two types of streams offered by java 8?
Write a program to print 15 random numbers using foreach of java 8?
What is the gregoriancalendar class in java programming?
we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.
How do you check if two given string are anagrams?
Can we use return in constructor?
Why multiple inheritance is not supported by java?
How can we find the sum of two linked lists using stack in java?
What are assembly attributes?
Can I override protected method in java?
Can we create our own daemon thread?