RRB Junior Engineer / DMS / CMA 2019 · Question 3577 of 3719
The variable is the basic unit of storage in a Java program. A variable is defined by the combination of an identifier, a type, and an optional initializer. Variable names cannot be keyword, it is case- sensitive and the first character must be a letter. In Java, all variables must be declared before they can be used. The basic form of a variable declaration is: type identifier [ = value ][, identifier [= value ] …]; Examples: int a, b; int a = 10, b = 20, c = 30; int a, b = 20, c; Confusion point In Java, variable name can also start with underscore character “_”, or a dollar sign “$”. Best Possible answer is chosen.
Source: RRB JE 2019 (CBT 2) (IT) Previous Year Paper (30 Aug 2019) — prepp.in solved-paper PDF (answer key with explanations) · reliable-secondary
Practice the full RRB Junior Engineer / DMS / CMA 2019 paper
Timed test with all 3719 questions, just like the real exam.
Start test