100% CORRECT AID GRADE A+
Which statement below could be used to simulate the outputs of tossing a quarter to
get heads or tails? Suppose randomNumbers is a SecureRandom object.
Selected randomNumbers.nextInt(2);
Answer:
• Question 2
1 out of 1 points
Overloaded methods always have the same .
Selected method name
Answer:
• Question 3
1 out of 1 points
Which of the following statements is false?
Selected If a method does not return a value, the return-value-type in the
Answer:
method declaration can be omitted.
• Question 4
1 out of 1 points
Method calls cannot be distinguished by .
Selected return type
Answer:
• Question 5
1 out of 1 points
A static method can .