Java synchronized block in static method








class Test {


    public static Test() {
        synchronized(Test.class) {
            ... ...
        }
    }

}



No comments:

Post a Comment