quiz حل الأسئلة الجامعية manage_search الأرشيف

تم الحل ✓
categoryبرمجة وتطوير البرمجيات schoolبكالوريوس event_available2026-07-14

السؤال

Transcribed Image Text:

| Write a java program 1. Deine an Arraytist of String 2. Deine an Arraytist of Integer 3. The program should read text from file named "information.txt" (Assume it is in the same location of the project) word by word and convert it to lower case. 4. While reading the words: a. if the word doesn't exist in the Arraylist of String then add it to the Arraylis String and add value 1 to the Arraylist of Integer. b. If the word already exists in the ArrayList of String then increment the corresponding position the Arraylist of Integer by 1. 5. print out the ArrayList of String and the ArrayList of Integer as table.

check_circle الجواب — حل مفصل خطوة بخطوة

hourglass_top