Question: java Problem #1: (20 pts] Answer the following questions: Answer 1- [7 pts) You have a 12-sided die (values are from 1 to 12). Write
Problem #1: (20 pts] Answer the following questions: Answer 1- [7 pts) You have a 12-sided die (values are from 1 to 12). Write a statement to roll the die and display the result. 2- [7 pts] Suppose you have a method named checkIntersection that prints on the screen a message stating whether 2 circles touch each other, do not touch each other or intersect. The method accepts the coordinates of the center of the first circle and its radius, and the coordinates of the center of the second circle and its radius. What will the signature of this method be? Do NOT write the body of the method. 3. [6 pts] Choose the right answer a) Yes b) No e) It depends on the size of the array An array can store many different data types of values
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
