Question: Question Four (10 Points) a) Write a Java program that will count the number of characters, words, and lines in a file. Words are separated

Question Four (10 Points) a) Write a Java program that will count the number of characters, words, and lines in a file. Words are separated by whitespace characters. The program output should be as follows: (6 Points) Filename: Test.txt Number of characters : 150 Number of words : 40 Number of lines : 5 b) Write a JavaFX program that generate the GUI shown in the following Figure. When the user clicks the Refresh button, four cards from a deck of 52 cards must be displayed randomly, see the Figure (4 Points) N.B. The cards images are stored on the hard disk as 1.png. An Arraylist can be in your solution .52.png (in the current folder) Exercise_15_01 Refresh
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
