Question
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
Posted under Electronics and Communication Engineering
Interact with the Community - Share Your Thoughts
Uncertain About the Answer? Seek Clarification Here.
Understand the Explanation? Include it Here.
Q. 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...
Similar Questions
Explore Relevant Multiple Choice Questions (MCQs)
Q. Which of the following is not an integer constant?
View solution
Q. Let JCOKE = 98 and LPEPSI = 42 Consider the statement
IF (JCOKE - 3 * LPEPSI) 5, 6, 7
5 JCOKE = JCOKE + 5
6 JCOKE = JCOKE + 8
7 JCOKE = JCOKE + 11
The value of JCOKE after the execution of above statement will be
View solution
Q. Which of the following is not a valid real constant in C?
View solution
Q. Which of the following is not a valid integer constant in C (for 16 bit)?
View solution
Q. Assume that x = 5 and y = 2. Then in Java operation x + = y, the result is
View solution
Q. If A = 20 and B = - 7 in PASCAL, A mod B =
View solution
Q. Which of the following is a computer language?
View solution
Q. Which of the following DO statements is invalid in FORTRAN 77?
View solution
Q. Read the following statements about files in Pascal
1. A file is a data structure which consists of a sequence of components of the same type.
2. The number of components in a file is variable.
3. The components in a file can be accessed only sequentially starting from the beginning of the file.
Which of the above are correct?
View solution
Q. Consider the following C program int ram
float alpha, gamma
ram = 6400
alpha = 0.562
gamma = alpha * ram + 1
Now consider the following statements about this program
1. ram is an integer variable
2. alpha, gamma are real variables
3. *, + are arithmetic operators
4. 0.562 may be an integer constant or real constant
Which of the above are correct?
View solution
Q. Which of the following conditional statements is not valid in Pascal?
View solution
Q. A computer program is used to read N and compute N !. IF N = 6, the result will be
View solution
Q. Consider the following statement in Basic
15 INPUT X, Y, Z
20 IF Y > X THEN 25
21 IF Z > Y THEN 30
25 PRINT Y
30 PRINT Z, X
35 END
IF X, Y, Z are 150, 200, 250 then the output will be
View solution
Q. The port of PC to which mouse is connected is called
View solution
Q. FORTRAN expression for √(3b²-5a²) is
View solution
Q. Assertion (A): Mnemonics are used in assembly level program.
Reason (R): Computer cannot understand mnemonics.
View solution
Q. Which of the following is a valid real variable in FORTRAN 77?
View solution
Q. Consider the following logical IF statement in FORTRAN 77
IF (SALT. GE. PEPPER) GOTO 11
GOTO 13
The above statement using arithmetic IF statement would be
View solution
Q. Assertion (A): Microprocessor 8085 can address 65536 memory locations.
Reason (R): Microprocessor 8085 has 16 address lines.
View solution
Q. If initial value of PROD is zero and a program adds X to PROD, Y times we get the result
View solution
Recommended Subjects
Are you eager to expand your knowledge beyond Electronics and Communication Engineering? We've handpicked a range of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of various subjects. Happy exploring!