In this repository, it contains several java exercises with different tasks.
In exercise 1 and 2, the programs create different colors of shape compositions.
In exercise 3, the program reads a text file and computes the most frequency alphabets in the text file and displays it in terms of a pie chart.
In exercise 4, the program utilizes both JavaFX library and MySQL to create, amend, and retrieve from the student database. Then, it displays the grade percentage among all students in the database.
For each exercise, please run following commands:
Exercise 1
javac TestMyShape.java
java TestMyShapeExercise 2
javac TestMyShape.java
java TestMyShapeExercise 3
javac Histogram.java
java HistogramExercise 4
javac DatabaseConnector.java
java DatabaseConnector*note: For all exercises, it requires to install the JavaFX library if the current java version is above 11.
**note: For exercise 4, it requires to download and install mysql jdbc driver.




