Question: Please help solve this by using JAVA program. Please read the directions properly and show me the output. Thanks in advance! For each of the

Please help solve this by using JAVA program.
Please read the directions properly and show me the output.
 Please help solve this by using JAVA program. Please read the
directions properly and show me the output. Thanks in advance! For each
Thanks in advance!

For each of the following problems, write a method that solves the problem. Demo each by calling it in the main method. 1 Is Sorted Wite a method isSortedO) which takes in an atrly of tategers and returns true if the numbers are sorted from smallest to largest. 2 Round All Up Create a method called roundAllUpO, which takes in an array of doubles and returns a new array of integers. This returned array contains all the numbers from the array of doubles, but rounded up. Below are some example input- output pairs [1.0. 3.5, 3.2, 4.1.445 3 Generate Triangle Numbers Write a method called generateTriangleNuabers). This method will take in an integer x and will return an array of integers containing the first x triangle numbers. The nth triangle number is the sum of 1 + 2+3 +4...(n 1) + n Some example input-output pairs 3 -> t1, 3, 61 1 > 11) 7-9(1, 3, 6, 10, 15, 21, 28] 4 Reverse All Strings Write a method called reverseA11). This method will take in an array of Strings and modify the array so that all the Strings in the array are reversed. Because this method modifies the contents of the array being passed in, it does not return anything. An example

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!