Question: 1. Using a String class methods, write a java program to do the following: [4 Marks] - Calculate the factorial of a given number. -

 1. Using a String class methods, write a java program to

1. Using a String class methods, write a java program to do the following: [4 Marks] - Calculate the factorial of a given number. - Calculate the summation of numbers. 2. Write a Java program to create an ArrayList called list which is of a type String. Then using a proper method to: [2 Marks] - Enter the following values to list: \{"kiwi", "strawberry", "apple", "Mango" 3. Write a java code to specify the index of value (50) from the following array Using sequntial Algorithm 10,20,30,40,50,60,70,80,90,100 [2 Marks] 4. Set up a 2D array to hold the following values: [26 135 ] and print it using for loop. : [2 Marks]

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!