Java1 Min Read LetuscrackonJune 9, 2024 Corona Virus An integer matrix of size RxC containing only the values 0, 1 and 2 is given as the input to the program.…