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
10 months, 4 weeks ago6c84cb9
10 months, 4 weeks agoshivkumarx
1 year, 3 months agoasdfjhfgjuaDCV
1 year, 3 months agoshivkumarx
1 year, 3 months agosteefaand
1 year, 4 months agoduydn
1 year, 9 months agor1muka5
2 years, 3 months agoWilsonKKerll
3 years, 3 months agoAjit0110
3 years, 8 months agomevlt
3 years, 4 months ago