Java / Concurrent collections
How to make sure the overrided method is also synchronized in Java?
It cannot be guaranteed. However an workaround would be to create a synchronized method and invoke an abstract method from it. We also need to ensure the abstract method is directly invoked.
More Related questions...