Electronics and Communication Engineering - Microprocessors - Discussion

Discussion Forum : Microprocessors - Section 3 (Q.No. 24)
24.
Consider the following statements about Java variables
  1. Java variable must start with a letter or underscore or dollor sign.
  2. Java variable can not start with a digit.
  3. After the first character the variable can have any combination of letters or numbers.
  4. Capitalization of letters must be consistent.
Which of the above are correct?
All
1, 2 and 3 only
2, 3, 4 only
1, 2 and 4 only
Answer: Option
Explanation:

All these are correct for Java variables.

Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.