for example, here is a class A
, FunciontionInterface f= A::new
, then I call f() in different threads, is it thread safe?
note: this is not a duplicate question of Are method References as method parameters thread safe in Java . Furthermore, I am asking the constructor method of objects, not a user-defined method.