Question: Answer to The Question: 1. (a) Write a java program that will accept a user given word if it contains at least 2 Uppercase letters,

Answer to The Question: 1. (a) Write a java program that will "accept" a user given word if it contains at least 2 Uppercase letters, 2 Small case letters, 3 special letters and the length of the given word must be greater or equal to 8. Otherwise the program will output "not accepted". Consider ? @_ # $ as special letters. (b) Write a java program that counts the total even integers from a Comma Separated Value file (csv) also show its average. Output: 2 Input: File name: tiger.csv File contains: 2,3,1,5, 6,7 4 (c) Write required code(s) that reads the whole contain of a file and divides the strings in nearly 3 equal lengths and passes the striped strings in 3 Threads respectively. The Threads calculate the number of vowels on given strings. The main code accumulates the vowel counts from 3 Threads and shows the total number of vowels. (d) Write a java controller for the given GUI that stores all the ID written in "TextArea" into the comma separated file (csv) on click of "Generate" button. Also on click of "Clear" button all the written texts on the "TextArea". User can write anything into the "TextArea". The program should extract 13th digit (numerical form) ID from the "TextArea" and stores the ID into the file if and only if the ID is not already written. Text Text Area Generate Clear Button Button
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
