Below is a small Java program that uses try-with-resources with two resources. Each resource's close() method prints a line to standard output.
You need to determine the exact stdout of this program.
try body, and the order of close() calls.Main.java.javac Main.java
java Main
javac Main.java && java Mainstdout is analyzed, without stream redirectionClick a line and write what it prints. Explanation is optional.