62 534
Assignments Done
98,8%
Successfully Done
In June 2018

Answer to Question #55254 in Java | JSP | JSF for Josh

Question #55254
/*
** file: BasicDNS.java
** purpose: This interface defines the services required of
** any DNS.
*/
public interface BasicDNS {
// update(domain, ipa) adds (or replaces)
// the IPA for this domain to the DNS database.
public void update(String domain, String ipa);
// lookUp(ipa, domain) returns the IPA associated
// with this domain, or null if it is not found in
// the database (or not returnable for legal reasons,
// such as blacklisting).
// The first argument, ipa, is the IPA from which this
// request originated.
public String lookUp(String ipa, String domain);
}

• Implement a class that implements the interface, using the fastest suitable class from the
collections framework to store and look up domain IPAs.
• Implement a test program that exercises your DNS class. It should have a simple, interactive
console user interface.

Thanks
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