Title Reporting File Information (Case 2)
Catalog Type SLCItem
Persistent ID https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=JAVA&set=files.j_input_stat&ch=JInputStat2
Platform Name PCEX
Features
Description Construct a program that receives the full path to an input file from the user, reads that file and reports the number of lines, the longest line, the number of words on each line, and the length of the longest word on each line. Make sure that the program handles each specific exception that could occur.
Keywords classes, exceptions, file i/o, methods, objects
Author Roya Hosseini
Institution University of Pittsburgh
Iframe URL https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=JAVA&set=files.j_input_stat&ch=JInputStat2
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Java
Natural Language en

Preview