Which of the following can be operands of arithmetic operators?

Home | Discussion Forum

Which of the following can be operands of arithmetic operators?

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) What is the output of the following program ?

class Numbers{
public static void main(String args[])
{
int a=20, b=10;
if((a < b) && (b++ < 25))
{ System.out.println("This is any language logic");
}
System.out.println(b);
}
}

4) What will be the result of the expression of 8|8.

5) Select from among the following character escape code which is not available in Java.

UP Gk Online Test

taiyari24hour.com

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