Write a method in Java to extract the IP address (without the prefix) as a string in

Question:

Write a method in Java to extract the IP address (without the prefix) as a string in dotted-decimal notation from a string representing the CIDR notation (“x.y.z.t/n”).

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Data Communications and Networking

ISBN: 978-0073376226

5th edition

Authors: Behrouz A. Forouzan

Question Posted: