File file = new File("xxx.txt");
synchronized(file) { // operate on the file }
"synchronized" is a function?
if it is a functin what class does it belong to?
synchronized(file) { // operate on the file }
"synchronized" is a function?
if it is a functin what class does it belong to?