Modulus operator, %, can be applied to which of these?

Home | Discussion Forum
Taiyari24Hour

Modulus operator, %, can be applied to which of these?



View More Related Question

2) 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++;

3) Modulus operator, %, can be applied to which of these?

4) Decrement operator, −−, decreases value of variable by what number?

5) What will be the output of the program?

  class Test
{
public static void main(String [] args)
{
int x=20;
String sup = (x < 15) ? "small" : (x < 22)? "tiny" : "huge";
System.out.println(sup);
}
}

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.