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

Home | Discussion Forum

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

View More Related Question

1) If int x=15; y=20; what will be the value of x after executing the following statement

 x=(x

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

3) When the operators are having the same priority, they are evaluated from ………………………….. in the order they appear in the expression.

4) If a=20 and b=15 then the statement x=(a>b) ? a:b; will assign value of x.

5)

public class Test  
{
public static void main(String args[])
{
System.out.print(""=="");
System.out.print(" ");
System.out.print("A"=="A");
System.out.print(" ");
System.out.print("a==A");
}
}

UP Gk Online Test

taiyari24hour.com