63 160
Assignments Done
99,3%
Successfully Done
In July 2018

Answer to Question #54922 in Java | JSP | JSF for Jax

Question #54922
/*
** file: SafeDNS.java
** purpose: This interface defines the services required of
** to block banned sites.
*/
public interface SafeDNS {
// blacklist(ipa) adds thus IPA to a blacklist.
// A blacklisted IPA will not be returned by the
// lookUp method.
2
public void blacklist(String ipa);
}

• Make your DNS class also implement this interface, using the fastest suitable class from
the collections framework to store and look up IPAs in a blacklist.
• Extend your test program so that sites may be blacklisted and we can test that their IPAs
are not being returned.
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions