I want to know the host name and provider name for tcs web
mail
Answer Posted / abhilash
String hostname= InetAddress.getByName("portno of tcs
mail").getHostName();
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What does the “static” keyword mean? Can you override private or static method in java?
Can you use this() and super() both in a constructor?
How does remove work in java?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
How does the garbage collector works in java?
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?
How do weakhashmap works?
What is pangram in java?
How would you format a date in java? I.e. In the ddmmyyy format?
Explain the difference between the public, private, final, protected, and default modifiers?
What is the primitive type short?
What is percentage in java?
Write a program to check for a prime number in java?
Explain the difference between intermediate and terminal operations in java8?
Can extern variables be initialized?