Which of the following are not Java keywords ?doubleswitchtheninstanceof
Question
Which of the following are not Java keywords ?doubleswitchtheninstanceof
Solution
The words that are not Java keywords in the given list are "double" and "then".
Here's the breakdown:
-
"double": In Java, "double" is a keyword. It is a data type that can store fractional numbers from 1.7e−308 to 1.7e+308.
-
"switch": "switch" is a keyword in Java. It is a control statement that allows a variable to be tested for equality against a list of values.
-
"then": "then" is not a keyword in Java. It is often used in other programming languages like Python.
-
"instanceof": "instanceof" is a keyword in Java. It is a binary operator used to test if an object (instance) is a subtype of a given Type.
So, the words "double" and "then" are not Java keywords.
Similar Questions
Name two main features of java Programming
Which of the following is NOT a Java programming tool?
In Java which of the following are unused keywords?A) constB) gotoC) Both (a) & (b)D) None of these
State and explain four features of java programming language
List and explain Java buzzwords
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.