Which of the following can be operands of arithmetic operators?

Home | Discussion Forum
Taiyari24Hour

Which of the following can be operands of arithmetic operators?



View More Related Question

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

3)

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");
}
}

4) When a=9, b=12 and c=3 what will be the value of x for the expression x=9-12/3+3*2-1

5) What will be the output after compiling and running following code?

public class Test
{
public static void main(String... args)
{
int x =5;
x *= 3 + 7;
System.out.println(x);
}
}

UP Gk Online Test

taiyari24hour.com

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