How to find a line with Maximum length from a File contains data.
SOURCE : MaxLineWordFromFile.java
INPUTI have stored a file at below location C:\\new\\testing.txttesting.txt file contains :---this is my india and all indian are my ,,,,all indians are like brothers and sisters and so we can say this ourhello here iamhey be aware of dogs and humanhelloyou see!!! what exactly you are talking aboutOUTPUT
longest line : all indians are like brothers and sisters and so we can say this our14

0 comments :
Post a Comment