package p44;

import java.io.File;

public class Tested {
    /**
     * Extracts the file name from the given file path. The method handles null inputs by returning null.
     * The file name is determined by the last segment of the path, as defined by the {@link File#getName()} method.
     *
     * @param path The file path from which to extract the file name. Can be null.
     * @return The file name extracted from the path, or null if the input path is null.
     */
    public static String getFileName(String path) {
        // TODO: implement this method
    }
}