✏️ Explanatory Question

Why are functions used in Java?

👁 7 Views
📘 Detailed Answer
🟢 Easy
7
Total Views
10
Related Qs
0%
Progress
💡

Answer with Explanation

Functions are used to:

  • Reduce code duplication

  • Improve readability

  • Make code reusable

  • Simplify debugging and maintenance