Java MCQ - English
Decrement operator, −−, decreases value of variable by what number?
Home | Discussion ForumDecrement operator, −−, decreases value of variable by what number?
1
2
3
4
Answer : A
View More Related Question
1) Modulus operator, %, can be applied to which of these?
Integers
Floating – point numbers
Both Integers and floating – point numbers.
None of the mentioned
View Answer
2) Which of these statements are incorrect?
Assignment operators are more efficiently implemented by Java run-time system than their equivalent long forms.
Assignment operators run faster than their equivalent long forms.
Assignment operators can be used only with numeric and character data type.
None
View Answer
3) Select from among the following character escape code which is not available in Java.
4) When the operator ++ is placed after the variable name, first assignment of the value of the variable takes place and then the value of the variable is incremented, this operation is also called ………………………….. .
5) What will be the values of x, y and z after execution of the following statements?int x, y, z;
x=9;
y=10;
z=++x=y++;