x

Choose Country Code

x

Direction

x

Ask a Question

  • Ask a Question
  • Scan a Question
  • Post MCQ
  • Note: File extension must be of jpg, jpeg, png, bmp format and file size must not exceed 5 MB
x

Ask a Question

x

x
x
x
Hire a Tutor

Answers and Solutions

What's Your Question?
Answer

Some words cannot be used as object or variable names in a Java program. These words are known as reservedwords -- keywords that are already used by the syntax of the Java programming language.

Answer

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. 

Answer

Java reserved words are keywords that are reserved byJava.

or

Some words cannot be used as object or variable names in a Java program. These words are known as reserved words functions or other uses that cannot be used as identifiers 

Answer

Some words cannot be used as object or variable names in a Java program. These words are known as reserved words -- keywords that are already used by the syntax of the Java programming language.

Answer

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. The list of reserved words in Java is provided below.

List of Java reserved words

abstract assert boolean break byte case catch char class const default

do double else enum extends false final finally float for goto

if implements import instanceof int interface long native new null package

private protected public return short static strictfp super switch synchronized

this throw throws transient true try void volatile while continue

Answer

Every programming languages have keywords. The keywords are the words which are used for special purposes. Similarly java language also have different keywords they are 

1. public , private , protected - Access Specifier.

2. static , synchronized , abstract , native , volatile - Access Modifier

3. byte , short , int , long , char , float , double , boolean - Data Type.

4. class , interface - User Defined Data Type

5. If , else , switch , break , continue - Conditional Construct

6. for , while , do  - Control Structure

Like the above there are various keywords are there which are used for some purposes.

 

Answer

Reserverd words also called key words are purely used for some specific meaning in the programming context which the Java compiler interprets  it as a 'keyword' and acts accordingly.

Answer

Every programming language is built up having its own syntax using certain rules. For example - class to create classes int, char, float to declare variable public, private, protected to specify the access level and similarly many more words are reserved by a language for building up its own syntax. These are also called as keywords. Apart from this Java also contains revered literals. They are true and false. Being the boolean value, and java reserving it as literal, you cannot declare a variable with name "true" or "false". The word "class" & "Class" both are reserved by Java. The earlier one to declare a class while the other one is itself a class.In a programming language, few words are specified for a specific purpose that is restricted to be used as a parameter name, method name, class name etc.These words are basically known as 'KEYWORDS'. IF, ELSE, CONTINUE, BREAK, SWITCH are few examples of Reserved Words.

Answer

In programming language few words are specified for specific purpose that are restricted to be used as a parameter name, method name, class name etc.These words are basically known as 'KEYWORDS'. IF, ELSE, CONTINUE, BREAK, SWITCH are few examples of Reserved Words.

Answer
Every programming language is built up having its own syntax using certain rules. For example - class to create classes int, char , float to declare variable public , private, protected to specify the access level and similarly many more words are reserved by a language for building up its own syntax. These are also called as keywords. Apart from this java also contains revered literals. They are true and false. Being the boolean value, and java reserving it as literal, you cannot declare a variable with name "true" or "false" . The word "class" & "Class" both are reserved by java . The earlier one to declare a class while the other one is itself a class.
Answer
reserved word in a programming language including java are the predefined words which can not be redefine by a programmer and should be used as it is.reserve words are also known as keywords.
Answer
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). In case if we use Java reserved words, compilation errors occurs Java reserved words list abstract assert boolean break byte case catch char class const default do double else enum extends false final finally float for goto if implements import instanceof int interface long native new null package private protected public return short static strictfp super switch synchronized this throw throws transient true try void volatile while continue
Answer
Reserved words are special words which have special meaning. These are reserved words or keywords like int,float,if,void etc. We cannot use these words anywhere in the program because there meaning are fixed, use them where they are needed. In java there are 53 such reserved words.
Answer
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.
Answer
In the Java programming language, a keyword is one of 53 reserved words that have a predefined meaning in the language; because of this, programmers cannot use keywords as names for variables, methods, classes, or as any other identifier.

Post Answer and Earn Credit Points

Get 5 credit points for each correct answer. The best one gets 25 in all.

Post Answer