Menu
Question Index
...

Which of the following can be used in a Java program as identifiers? Check all of the identifiers that are legal.

1. sum_of_data
2. AnnualSalary
3. _average
4. 42isThesolution
5. B4
6. ABC
7. for
8. println
9. "hello"
10. first-name


1, 2
1, 2, 3
1, 3, 5, 6
1, 2, 3, 5, 6, 8
1, 2, 3, 5, 6, 10

Doubts

Problems

Topic: Java Variables

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App