Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started