Which of the following is not a keyword in java?
A - static
B - Boolean
C - void
C- private
Answers
Answered by
3
may be boolean........
Answered by
1
Boolean is not a keyword in java.(Option B)
- Java keywords are also known as reserved words. Keywords are particular words that act as a key to a code.
- These are predefined words by Java so they cannot be used as a variable or object name or class name.
- The boolean keyword is a data type that can only take the values true or false . Boolean values are mostly used for conditional testing
- The boolean keyword is a primitive data type. It is used to store only two possible values, either true or false.
#SPJ3
Similar questions