Question: help this is java 10/30/2017 math.pnw.edu/-rlkraft/cs12300/CS 12300_Exam_2_Review.java (c) Declare a variable of type int and assign to it the result of sending the object named

 help this is java 10/30/2017 math.pnw.edu/-rlkraft/cs12300/CS 12300_Exam_2_Review.java (c) Declare a variable

help this is java

10/30/2017 math.pnw.edu/-rlkraft/cs12300/CS 12300_Exam_2_Review.java (c) Declare a variable of type int and assign to it the result of sending the object named r the nextInt message with parameter 10. (d) Create a String object containing the text "This is so much fun" and send the object the substring message with parameters that extract the first eleven letters of the string. Assign the result of this calculation to a variable called str which is declared to be of type String. (e) Send the object named str the concat message with parameter "easy". To the result of this calculation, send the toUpperCase message. (concat' is an abbreviation for concatenate, which means to put the string "easy" at the end of the string named by str.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!