Click here to Skip to main content
15,883,822 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Please develop a simple console base application, which reads some persons records from a “.txt” file and displays each person’s information in form of table. The program should also count and display the number of alphabets, spaces, integers, words, characters and lines from the file in tabular form.
please make this application file (.java) and driver file (.java) separately.
(All three files will be in one folder for execution through driver file)

text file is containing the follwing text.
David, 51, IT, 40006, Bachelor
Tomb, 85, Computer, 40502, Master
Stephen, 97, Maths, 40652, Phd
it is infact
name, rollNo, grade, phoneNo, program
Updated 5-Nov-12 4:12am
Sharjith 5-Nov-12 9:52am    
Is this a question or delegation of your assignment? Please do your homework on your own. Put some effort and then raise specific questions where you get really stuck.
Sergey Alexandrovich Kryukov 5-Nov-12 15:42pm    
What it this? This is abuse. Please report as such.
Shah Baba 6-Nov-12 11:26am    
If you are not familiar with java code then no need to interrupt gentleman,,,
the problem is only how to count characters and words and print it in tabular form.....
If u r unable to then please sit back and keep quite....
Sharjith 6-Nov-12 17:57pm    
Dear Shah Baba, I don't know from which world you come but the arrogance you pose won't help you get along anywhere. I didn't try to even report your post as an abuse of the forum while I should have done so. I just had a piece of advice for your betterment and you should have already noted what even others feel the same by looking at the solution posted below by another member here. And to judge my familiarity with java code take some effort to go through my articles, which I am sure you haven't even taken the trouble of doing so before replying to me.
Shah Baba 9-Nov-12 13:08pm    
thanks dear.

1 solution

No. We do not do your homework for you, as I already explained here[^].
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900