Computer Applications
Which of the following is an illegal identifier?
- age
- 123abc
- _value
- salary
Values & Data Types Java
7 Likes
Answer
123abc
Reason — 123abc is not a valid identifier because it starts with a number, which is not allowed.
Answered By
5 Likes
Related Questions
Which of the following is not a valid method of the Scanner class?
- next( )
- nextInt( )
- nextLong( )
- nextNumber( )
What will be the output of
Math.floor(-20.10);
?- -20.0
- -21.0
- 20
- 21
Which of the following is/are jump statement used in Java?
- break
- continue
- return
- All of these
Class initialisation is the …………… initialisation of class fields of values.
- explicit
- implicit
- Both a and b
- None of the above