Question: Question 11 What is output by the code below? double x = 4/3; System.out.print(x); Question 11 options: 0 1 0.0 1.0 2 Question 12 Which

Question 11

What is output by the code below? double x = 4/3; System.out.print(x);

Question 11 options:

0

1

0.0

1.0

2

Question 12

Which of the following types uses the least memory?

Question 12 options:

int

double

byte

bit

char

Question 13

Which of the following would print one backslash on the screen if used in a print( ) or println( )?

Question 13 options:

\\

\

/\

\\\

\b

Question 14

What is output by the code below? System.out.println( 7 / 0);

Question 14 options:

0

7

0.7

27

There is no output due to a runtime error.

Question 15

What is the output by the code below? System.out.println( 3 + 6 );

Question 15 options:

6

9

3

0

-3

Question 16

What is the output by the code below? System.out.print("a\tc" );

Question 16 options:

a\tc

a c

atc

a\c

ac

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!