Primitive Datatype

Java Primitive Datatype Quiz

0
Created on By wefru

Primitive datatypes

TEST YOUR  SKILLS

1 / 10

Choose the Compound Assignment Arithmetic Operators in Java below.

2 / 10

What is the output of the below Java code snippet?int a = 2 - - 7;System.out.println(a);

3 / 10

What is the output of the Java code snippet?int a=5, b=10, c=15;a -= 3;b *= 2;c /= 5;System.out.println(a +" " + b + " " + c);

4 / 10

Which is the arithmetic operator in Java that gives the Remainder of Division?

5 / 10

Between Postfix and Prefix arithmetic operators in Java, which operators have more priority?

6 / 10

Among the operator groups (++, --) and (+, -, *, /, %) in Java, which group has higher priority?

7 / 10

Choose the correct statement about Java Prefix and Postfix operations.

8 / 10

An IF statement in Java is also a ___ statement.

9 / 10

Java style IF-ELSE statements are similar to ___.

10 / 10

Which of these selection statements test only for equality?

Your score is

The average score is 0%

0%

Leave a Reply

Your email address will not be published.