✏️ Explanatory Question

What do you mean by synchronized Non Access Modifier?

👁 755 Views
📘 Detailed Answer
💡

Answer with Explanation

Java provides these modifiers for providing functionalities other than Access Modifiers, synchronized used to indicate that a method can be accessed by only one thread at a time.