Write a method in Java to extract the prefix of an address (as an integer) given a

Question:

Write a method in Java to extract the prefix of an address (as an integer) given a string representing a CIDR notation in the form “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
Question Posted: