Reserved words are words that cannot be used as object or variable names in a Java program because they're already used by the syntax of the Java programming language.
Java reserved words are keywords that are reserved by Java functions or other uses that cannot be used as identifiers (e.g., variable names, function names, class names).
If a reserved word was used as a variable you would get an error or unexpected result.
Examples : Int, Long, Abstract, Class, Break, Catch, Case, Public, Static, Void,...
JavaScript, often abbreviated as JS, is a high-level, interpreted programming language that conforms to the ECMAScript specification.
JavaScript has
* curly-bracket syntax,
* dynamic typing,
* prototype-based object-orientation, and
* first-class functions.
Uses :
It is well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB and Adobe Acrobat.
A class can have any number of constructors. If a class have more than one constructor, we call it as the constructor is overloaded.
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.