subject
Mathematics, 20.12.2021 14:00 Blakemiller2020

Java 1 Question 6
The modulus ( % ) actually gives you the of an integer division problem.

a. operand
b. operator
c. remainder
d. multiple
e. sum

Question 7
When you declare an object by instantiating a class you use the following syntax: ClassName variableName = ClassName(). Which Java reserved word must be placed in the blank?

a. int
b. switch
c. new
d. throw
e. class

Question 8
What value is placed in number by the following statements?

int x = 12;
int number = 21;

if (x < 12)
number = 0;
else if (x > 12)
number = 1;
else
number = x;

a. 0
b. 1
c. 12
d. 21
e. 0112

Question 9
What value is placed in number by the following statements?

int x = 15;
int y = 19;
int number;

if ( (y - x) > (x - y) )
number = y - x;
else
number = x - y;
}

a. 34
b. -4
c. 15
d. 19
e. 4

Question 10
modifier can be accessed across all classes in the application.

a. A public
b. A private
c. A protected
d. No
e. A main

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 19:00
Tabby sells clothing at a retail store, and she earns a commission of 6.25% on all items she sells. last week she sold a pair of jeans for $32.50, a skirt for $18.95, and 2 blouses for $14.95 each. what was tabby's total commission? a $4.15 b $5.08 c $81.35 d $348.60
Answers: 3
question
Mathematics, 21.06.2019 21:50
Which of the following equations is equivalent to x/3-6/x=1
Answers: 3
question
Mathematics, 21.06.2019 23:30
The legs of a right triangle measure 6 meters and 8 meters. what is the length of the hypotonuse.
Answers: 1
question
Mathematics, 22.06.2019 03:20
Anumber is equal to twice a smaller number plus 3. the same number is equal to twuce the sum of the smaller number and 1. how many solutions are possible for this situation
Answers: 2
You know the right answer?
Java 1 Question 6
The modulus ( % ) actually gives you the of an integer division problem.<...
Questions
question
Mathematics, 07.12.2021 01:00
question
Mathematics, 07.12.2021 01:00
question
Mathematics, 07.12.2021 01:00
question
Mathematics, 07.12.2021 01:00
Questions on the website: 13722367