A.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”).
B. Write a method in Java to accept a string representing an IP address in the
form “x.y.z.t” and change it to an unsigned integer.
C. Write a method in Java to convert a 32-bit integer to a string representing an
IP address in the form “x.y.z.t”.