Microprocessors

Q1: Consider the following
  1. The first letter of a Java variable is lower case.
  2. Each successive word in Java variable begins with a capital letter.
  3. All other letters are lower case.
  4. A Java variable can have a digit as first character.
Which of the above are correct?

A All

B 1, 2, 3 only

C 1, 2, 4 only

D 2, 3, 4 only

ANS:B - 1, 2, 3 only

Digit as first character is not allowed.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.