Posts

Showing posts with the label Reserved literals

Reserved Words in Java

Image
What is Reserved Words. In every language some words are already reserved to represent some action or meaning. For example in English some reserve words are listed below. Apple Run Cat Dog Eat Similarly in Java there are some words which meaning is already reserved, such words are called reserved words / keywords. In Java, Only 53 words are reserved words. Difference between Keywords and Reserved Literals If reserve words represents some functionality, then called Keywords . If reserve words represents some value, the called Reserve Literals . Reserve Literals (3) true (boolean value) false (boolean value) null (Object reference value) Keywords (50) Used Keywords (48) Unused Keyword (2) Goto Const All 53 Reserved Words List Data types (8) byte short int long float double boolean char Flow Control (11) if else switch case default while for do break continue return Modifiers (11) public private pr...

Popular posts from this blog

String in golang

Arrays in C Language

Literals in Java

Pointers in C Language

Inline V/S Block Level Element

Reserved Words in Java

Identifiers

Data Types in Go language

Printing in C programming

Variable Naming & Scope of Variable