CIDR doesn't define for any class......the '\n' denotes the number of bits used in network mask.....and using network mask we can find number of hosts, first address and last address.......
so I would go with option 4 i,e implemented in all the classes.....