InterviewSolution
| 1. |
Can A Constructor Be Synchronized? |
|
Answer» No, constructor cannot be SYNCHRONIZED. Because constructor is used for instantiating object, when we are in constructor object is under creation. So, until object is not INSTANTIATED it does not NEED any synchronization. No, constructor cannot be synchronized. Because constructor is used for instantiating object, when we are in constructor object is under creation. So, until object is not instantiated it does not need any synchronization. |
|