Question: Study the thread based array addition Java program posted with week 3 lecture notes. Then, implement the following task using threads. The following code skeleton

Study the thread based array addition Java program posted with week 3 lecture notes. Then, implement the following task using threads. The following code skeleton of the main program is to perform string analysis using threads. Objective of the program is to read a string from the keyboard and determine how many digits, uppercase letters, and determine if the string is palindrome or not. Three threads need to be implemented for each of the tasks above. To do: Complete the skeleton code and then implement three threads called DigitCountThread, isPalindrome Thread, and upperCountThread. Submission: make zip file containing all of your java programs that implements the above solution and upload online to the blackboard. public class AnalyzeString Public static void main(String[] args) String str=scan.nextLine(); // Create an instance of DigitCountThread // Create an instance of upperCountThread // Start DigitCountThread instance created above // Start is Palindrome instance created above // wait for the three threads to complete // display digit count, upper count and whether the string is a palindrome or not
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
