Hey, I wasn’t sure what to look up to find an answer for this so here goes. Why would you write something such as:
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
When you could just write:
import java.io.*;
I see a lot of people importing specific classes instead of just using the general import statement, why do they do this and what, if any, is the benefit of doing so?