Types of Keywords
- Control Keywords: Used for control flow, such as if, else, while, for.
- Data Type Keywords: Define data types, such as int, float, char.
- Storage Class Keywords: Specify the storage duration and linkage, such as static, extern.
- Access Modifiers: Define access levels for classes, variables, methods (e.g., public, private, protected in Java and C++).
- Others: Keywords that don’t fall into the above categories but are essential for specific functionalities, like return, void, new.
What is Keyword in Programming?
Keywords are predefined or reserved words that have special meaning to the compiler. In this article, we will discuss about keywords in programming, its importance, and usage in different languages.
Contact Us