✏️ Explanatory Question

Why Packages are used?

👁 736 Views
📘 Detailed Answer
💡

Answer with Explanation

Packages are used in Java in-order to prevent naming conflicts, to control access, to make searching/locating and usage of classes, interfaces, enumerations and annotations, etc., easier.