✏️ Explanatory Question

What does the token 'keyword' refer to, in the context of Java? Give an example for keyword.

👁 94 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

In Java, a keyword is a reserved word that has a predefined meaning in the language and cannot be used for naming variables, classes, or methods. Example: public, class, void.