//JAVA 25+ //SOURCES Shout.java //FILES banner.txt=banner.txt import java.io.InputStream; /** * More than one file: //SOURCES pulls in Shout.java, //FILES makes banner.txt * available on the classpath as a resource. */ public class Main { public static void main(String[] args) throws Exception { try (InputStream in = Main.class.getClassLoader().getResourceAsStream("banner.txt")) { System.out.print(new String(in.readAllBytes())); } System.out.println(Shout.shout("one script, two sources, one resource")); } }