Java के लिए 50 reserved keywords होते है | इन keywords को variables, classess और methods के नाम के लिए इस्तेमाल नहीं किया जाता |
| Keywords | Descriptionn |
|---|---|
| abstarct | इसका इस्तेमाल Java Abstraction के लिए होता है | |
| assert | assert statement के लिए इस्तेमाल होता है | इससे debugging और testing में मदद होती है | |
| boolean | boolean के लिए 'true' और 'false' ये values है | |
| break | Loop को break करने के लिए इस्तेमाल किया जाता है | |
| byte | Numeric type के variable को declare करने के लिए इस्तेमाल होता है | ये integer के 8-bits hold करके रखता है | |
| case | Switch case statement को इस्तेमाल करने के लिए होता है | |
| catch | throw से exceptions handle करने के लिए इस्तेमाल होता है | |
| char | character variable declare करने के लिए इस्तेमाल होता है | |
| class | classes को declare करने के लिए इस्तेमाल होता है | |
| const | const ये एक स्थिर variable के लिए इस्तेमाल होता है | |
| continue | Loop को iterate किया जाता है | |
| default | Switch case statement के लिए इस्तेमाल होता है | |
| do | एक loop का प्रकार है | जिसके साथ while loop को इस्तेमाल किया जाता है | |
| double | floating-point data-type है | |
| else | if के साथ statement को इस्तेमाल किया जाता है | |
| enum | Enumeration data type का 'Keyword' है | |
| extends | Inheritance के लिए इस्तेमाल किया जाता है | |
| final | variable, class और method के साथ इस्तेमाल किया जाता है | |
| finally | try और catch के साथ exception handling के लिए इस्तेमाल किया जाता है | |
| float | Floating-point variable को declare करने के लिए इस्तेमाल होता है | |
| for | Loop का एक प्रकार है | |
| goto | एक statement है , जिसमे label होता है | |
| if | एक statement है | जिससे condition सही है या गलत इसका पता चलता है | |
| implements | interfaces को implements करने के लिए इस्तेमाल होता है | |
| import | packages को import करने के लिए इस्तेमाल होता है | |
| instanceof | instanceof operator का इस्तेमाल run-time पर object का type; check करने के लिए होता है | |
| int | integer variable को declare करने के इस्तेमाल होता है | |
| interface | ये एक pure abstarct class है | |
| long | long integer variable को declare करने के इस्तेमाल होता है | |
| native | ये एक method specifier है | |
| new | class का object ये instance create करने के लिए इस्तेमाल होता है | |
| package | packages को declare करने के लिए इस्तेमाल होता है | |
| private | ये एक access spacifier है | |
| protected | इसे inheritance के लिए इस्तेमाल किया जाता है | |
| public | ये एक access specifier है | |
| return | value को return करने के लिए इस्तेमाल किया जाता है | |
| short | short integer variable को declare करने के इस्तेमाल होता है | |
| static | Variable के method के लिए इस्तेमाल किया जाता है | |
| switch | एक से अधिक condition का statement है | |
| synchronized | class के एक ही thread को access करने के लिए इस्तेमाल होता है | |
| this | current object को refer करने के लिए इस्तेमाल किया जाता है | |
| throw | Exception Handling के लिए इस्तेमाल किया जाता है | |
| throws | ये भी Exception Handling के लिए इस्तेमाल होता है | |
| try | Exception Handling के लिए इस्तेमाल किया जाता है | |
| void | ये कुछ भी return नहीं करता | |
| while | ये एक loop का प्रकार है | |







No comments: