I am studying java for the first time and I am using a program called Eclipse to build my programs. I am working with arrays and I am tasked with the following:
Create a method that restores an image in which each pixel has been scrambled by exhanging the lower 2 bits with the upper 2 bits. To do this requires that your code do the same exchange to restore the original pixel. Don't modify the middle four bits.