Given:
final class Folder { //line n1
//line n2
public void open () {
System.out.print("Open");
}
}
public class Test {
public static void main (String [] args) throws Exception { try (Folder f = new Folder()) { f.open();
}
}
}
Which two modifications enable the code to print Open Close? (Choose two.)
6c84cb9
5 months, 4 weeks ago6c84cb9
5 months, 4 weeks agoshivkumarx
10 months, 2 weeks agoasdfjhfgjuaDCV
11 months agoshivkumarx
10 months, 2 weeks agosteefaand
12 months agoduydn
1 year, 4 months agor1muka5
1 year, 10 months agoWilsonKKerll
2 years, 10 months agoAjit0110
3 years, 3 months agomevlt
2 years, 11 months ago