How can you check whether domain exists or not in Java?
<p>Suppose my email address is <code>xyz@yahoo.com</code> and I want to check if <code>yahoo.com</code> is a valid domain or not.</p>

<p>Can anyone tell me which Java API I can use for this?</p>
