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) What will be result of the result of the expression -14%-3

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

4) In Java, the ……………………… is used to access the instance variables and methods of class objects.

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.