### Question:
ReservoirSampleExample { public static void main(String[] args) throws Exception { DataStream<DataInstance> data = DataStreamLoader.open("datasets/simulated/syntheticData.arff"); DataOnMemory<DataInstance> dataOnMemory = ReservoirSampling.samplingNumberOfSamples(100, data); DataStreamWriter.writeDataToFile(data, "datasets/simulated/subsample.arff"); }  static void main(String[] args);  }### Answer:
@Test public void test() throws Exception { ReservoirSampleExample.main(null); }