Java Math Operations Answers

12 verified answers1 views
1
Free Preview

Choose the statement that best describes naming a can with the label “myCan” and filling it with chicken soup.

A
myCan = “chicken soup”;
B
float myCan = “chicken soup”;
C
string myCan = “chicken soup”;
D
string myCan != “chicken soup”;
4

What statement denotes the difference in bytes occupied by an int and a float value in Java?

A
Int takes 4 bytes; float takes 4 bytes.
B
Int takes 2 bytes; float takes 2 bytes.
C
Int takes 8 bytes; float takes 1 byte.
D
Int takes 4 bytes; float takes 8 bytes.
6

Which phrase best describes the = symbol in Java?

A
equal to
B
assigned to
C
equal to or greater than
D
compared to
11

Complete the sentence.

Answer not available
12

Match each word to its correct meaning.

Answer not available

Did you find these answers helpful?