What class in Java is typically used to load an image from a file?
You can use the `File` class to load images directly from the file system without needing any additional classes.
Thatâ€™s incorrect. The `File` class handles file paths and directories, but you need `ImageIcon` or `BufferedImage` to load the image itself.
Can you explain the role of `ImageIcon` or `BufferedImage` in the image loading process?