Challenge on java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Challenge on java

Read a pdf and count duplicate words and print on console(duplicate word = count),after that store all duplicate words into a arraylist on desc order then print on console,if count is greater than duplicate word letter count then store that word into set and then remove from existing arrayList then print arraylist and set (old arraylist values separated with long line mark and then set)

9th Jan 2020, 3:21 PM
Srikanth
Srikanth - avatar
7 Answers
+ 3
You can use the PDDocument class and then use the object to invoke the load().
11th Jan 2020, 10:38 AM
Avinesh
Avinesh - avatar
+ 2
Have you tried to read pdf file? If you can read file you can do whatever you want.
9th Jan 2020, 4:45 PM
A͢J
A͢J - avatar
+ 2
How are you planning to store the words so that you iterate over it to find the duplicates?
9th Jan 2020, 4:57 PM
Avinesh
Avinesh - avatar
+ 1
This is your question or you are giving assignment?
9th Jan 2020, 4:32 PM
A͢J
A͢J - avatar
+ 1
Pdfbox we need to copy the pdfbox latest version jar file into your project folder
11th Jan 2020, 4:47 AM
Srikanth
Srikanth - avatar
0
My question
9th Jan 2020, 4:36 PM
Srikanth
Srikanth - avatar
- 2
Hello
11th Jan 2020, 2:28 PM
Fiston Mbuyi
Fiston Mbuyi - avatar