Page 1 of 1

Lab Final Computer Science II (GEIT 1412) Upload only.java file in blackboard Total Marks: 5 Task: Create a java program

Posted: Sat May 14, 2022 7:40 pm
by answerhappygod
Lab Final Computer Science Ii Geit 1412 Upload Only Java File In Blackboard Total Marks 5 Task Create A Java Program 1
Lab Final Computer Science Ii Geit 1412 Upload Only Java File In Blackboard Total Marks 5 Task Create A Java Program 1 (33.47 KiB) Viewed 35 times
Lab Final Computer Science II (GEIT 1412) Upload only.java file in blackboard Total Marks: 5 Task: Create a java program to do the following operations: 1. Ask the user to input 10 student names (You can enter duplicate name) and write them in a text file called Student.txt file 2. Read student names one by one from Student, txt file and add them into a LinkedList. 3. Display the students name from LinkedList using iterator. 4. Check which student name is repeated more number of time and display its name and number of time it has been repeated. Sample Output: Enter 10 names: Mohammad Ahmed Ali Fahad Abdulrahman Abdullah Mohammad Ali Faisal Mohammad 10 student nanon added to the student.txt file The students added to the linklist are: Mohammad Ahmed All Fahad Abdulrahman Abdullah Mohammad Ali Faisal Mohammad The student who is repeated more number of time is Mohammad and he is repeated 3 times