I get the following error messages:
Be sure that the ImageReaderFactory class has a getImageReader() method.
The getImageReader method must return a BmpReader object when ImageTypes.BMP is passed as an argument.
Be sure that the getImageReader method works correctly if null is passed to it.
package com.codegym.task.task16.task1631;
import com.codegym.task.task16.task1631.common.ImageReader;
import com.codegym.task.task16.task1631.common.ImageTypes;
import com.codegym.task.task16.task1631.common.ImageReaderFactory;
public class Solution {
public static void main(String[] args) {
ImageReader reader = ImageReaderFactory.getImageReader(ImageTypes.JPG);
}
}