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
How do you test a method for an exception using junit?
What is string data?
What are the differences between checked exception and unchecked exception?
What is a method in coding?
What do you mean by ternary operator in java?
What is java object name?
What is internal iteration in java se 8?
What is the difference between a checked and an unchecked exception?
What is double checked locking in singleton?
Where is core java used?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
Define packages in java?
Can a method inside a interface be declared as final?
Explain the difference between hashmap and hashtable in java?
Explain how can you debug the Java code?