What does the token 'keyword' refer to, in the context of Java? Give an example for keyword.
Short Answer
Views 15
Answer:
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
.
Related Articles:
This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.