Please do this question by using Java language as the question request and do not use handwriting. Just type it after you test the code.
Write a Java program that inputs a document and ten outputs a bar-chart plot of the frequencies of each alphabet character that appears within that document.