Programming - Operators

You Are Here :: Home > JAVA > Operators - General Questions

 
13.

Which expression, a value is incremented first then this new value is restored back to the variable?                        


A. postfix B. infix
C. prefix D. all the above




14.

Which expression the current value is assigned to a variable then it is incremented by1 and restored back to the original variable.                        


A. infix B. postfix
C. prefix D. both b and c




15.

The logical compliment (!) operator is also known as __________.                        


A. Boolean Negation Operator B. Boolean Operator
C. both a and b D. none




16.

____________________ is used to invert the value of a boolean type operand i.e. the type of the operand must be boolean while using this operator                        


A. logical compliment B. logical AND
C. logical OR D. both a and b




17.

The Equality operator "= =" differs from an ___________.                        


A. Relational operator B. assignment operator "="
C. logical operator D. increment operator




18.

All these operators are often used in the _____________.                        


A. control structures B. control statements
C. both a and b D. all the above




« prev

1

2

3

4

5

6

7

8

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on