Detailed Solutions
Save
Practice questions for this set
Learn 1 /7 Study using Learn
new
Choose an answer
What is used for writing output to a This marks the beginning of a multiline
1 2
file? comment.
Which of the following does not
change the value of a variable?
count++
This keyword causes an object to be
3 4 count == 1
created in memory.
count += 1
count = 1
count = count + 1
Don't know?
Terms in this set (58)
What is used for writing output to a PrintWriter
file?
, What is used when getting input from scanner
a file?
Which of the following is not a scanner
primitive data type?
float
long
Scanner
char
Which of the following is an example /n
of an escape sequence?
/n
while
main
Scanner
Which of the following does not count == 1
change the value of a variable?
count++
count == 1
count += 1
count = 1
count = count + 1
Which of the following should you use Math.pow
to compute the value that results
when raising one variable to the
power of another (i.e,
exponentiation)?
Math.pow
Math.random
**
++
^
none