Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Java Software Solutions
Quiz 2: Data and Expressions
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
Multiple Choice
The Random class has a method, nextFloat() which returns a random float value between
Question 22
Multiple Choice
Assume that x and y are ints equal to 10 and 5 respectively. What is the output of the following statement? System.out.println(x + y) ;
Question 23
Multiple Choice
Which library package would you import to use the class Random?
Question 24
Multiple Choice
A Java variable is the name of a
Question 25
Multiple Choice
Given String name = "Arleen Crabtree". What will the following instruction return? name.toUpperCase() .replace('R', 'Z') ;
Question 26
Multiple Choice
Of the following types, which one cannot store a numeric value?
Question 27
Multiple Choice
If x is an int and y is a float, which of the following statements is not a legal assignment statement?
Question 28
Multiple Choice
If you want to output a double so that at least one digit appears to the left side of the decimal point and exactly one digit appears to the right side, which pattern would you give a DecimalFormat variable when you instantiate it?