Java MCQ - English
Which of the following can be operands of arithmetic operators?
Home | Discussion ForumWhich of the following can be operands of arithmetic operators?
Numeric
Boolean
Characters
Both Numeric & Characters
Answer : D
View More Related Question
1) If a and b are integers, then for a=14 and b=4 what will be the value of expression a/b.
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.