Eclipse provides the possibility to extract interface from a class. You may call it reverse engineering since rule of thumb is to write the interface first and then write the classes implementing it. But sometimes, it’s the other way around. You write a class and then you want to generate the appropriate interface for it. Lets see how to do this.
I wrote a class that has to do with text extraction from CSV files. I named it CSVFile. Java Code: import java.util.ArrayList;