Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

contacts.txt (contains) 1,Norry,Killby,nkillby0@photobucket.com 2,Darice,Hollier,dhollier1@auda.org.au 3,Ettie,Polo,epolo2@netlog.com 4,Tudor,Feehely,tfeehely3@ibm.com 5,Darleen,Nye,dnye4@jugem.jp 6,Dina,Cammock,dcammock5@simplemachines.org 7,Leela,Roscam,lroscam6@java.com 8,Herbert,Gilfoyle,hgilfoyle7@jigsy.com 9,Stefanie,Munehay,smunehay8@amazon.de 10,Caroline,Noni,cnoni9@wp.com 11,Agretha,Jestico,ajesticoa@networksolutions.com 12,Valaree,Elkins,velkinsb@opensource.org 13,Cinderella,Clutterham,cclutterhamc@blogspot.com 14,Winnie,Caves,wcavesd@purevolume.com 15,Kellie,Windress,kwindresse@symantec.com 16,Pearla,Rickford,prickfordf@cornell.edu 17,Tabina,Killock,tkillockg@nih.gov 18,Roxy,Cubley,rcubleyh@ovh.net 19,Riva,Camblin,rcamblini@cafepress.com 20,Lodovico,Bonwell,lbonwellj@berkeley.edu 21,Mellicent,Simants,msimantsk@ow.ly 22,Dionisio,Durnall,ddurnalll@example.com 23,Kendal,Japp,kjappm@blogtalkradio.com

image text in transcribed

contacts.txt (contains)

1,Norry,Killby,nkillby0@photobucket.com 2,Darice,Hollier,dhollier1@auda.org.au 3,Ettie,Polo,epolo2@netlog.com 4,Tudor,Feehely,tfeehely3@ibm.com 5,Darleen,Nye,dnye4@jugem.jp 6,Dina,Cammock,dcammock5@simplemachines.org 7,Leela,Roscam,lroscam6@java.com 8,Herbert,Gilfoyle,hgilfoyle7@jigsy.com 9,Stefanie,Munehay,smunehay8@amazon.de 10,Caroline,Noni,cnoni9@wp.com 11,Agretha,Jestico,ajesticoa@networksolutions.com 12,Valaree,Elkins,velkinsb@opensource.org 13,Cinderella,Clutterham,cclutterhamc@blogspot.com 14,Winnie,Caves,wcavesd@purevolume.com 15,Kellie,Windress,kwindresse@symantec.com 16,Pearla,Rickford,prickfordf@cornell.edu 17,Tabina,Killock,tkillockg@nih.gov 18,Roxy,Cubley,rcubleyh@ovh.net 19,Riva,Camblin,rcamblini@cafepress.com 20,Lodovico,Bonwell,lbonwellj@berkeley.edu 21,Mellicent,Simants,msimantsk@ow.ly 22,Dionisio,Durnall,ddurnalll@example.com 23,Kendal,Japp,kjappm@blogtalkradio.com 24,Demetra,Wozencraft,dwozencraftn@businessinsider.com 25,Broderic,Callicott,bcallicotto@oakley.com 26,Alyss,Spuffard,aspuffardp@biblegateway.com 27,Shana,Saphin,ssaphinq@artisteer.com 28,Kin,Trubshaw,ktrubshawr@rakuten.co.jp 29,Pietra,Thirst,pthirsts@intel.com 30,Shirlene,Grzes,sgrzest@eventbrite.com 31,Barnabe,Battisson,bbattissonu@cafepress.com 32,Emmie,Caveill,ecaveillv@histats.com 33,Way,Lindores,wlindoresw@gnu.org 34,Doti,Dehm,ddehmx@sitemeter.com 35,Annalee,Jeeves,ajeevesy@abc.net.au 36,Byram,Zanutti,bzanuttiz@edublogs.org 37,Aloise,Capstack,acapstack10@seesaa.net 38,Georg,Baldassi,gbaldassi11@samsung.com 39,Lyn,Wigfall,lwigfall12@deviantart.com 40,Nanni,Mahody,nmahody13@mediafire.com 41,Amberly,Copes,acopes14@linkedin.com 42,Margarethe,Drysdale,mdrysdale15@creativecommons.org 43,Major,Sjostrom,msjostrom16@nps.gov 44,Dorris,Kahane,dkahane17@csmonitor.com 45,Benji,Glashby,bglashby18@hhs.gov 46,Birgit,Basten,bbasten19@omniture.com 47,Lulita,Crampsy,lcrampsy1a@is.gd 48,Skipper,Berrington,sberrington1b@geocities.com 49,Duff,Winspear,dwinspear1c@pagesperso-orange.fr 50,Marietta,Finney,mfinney1d@feedburner.com 51,Enrica,Bellefonte,ebellefonte1e@mozilla.com 52,Doralynne,Magenny,dmagenny1f@epa.gov 53,Jamie,Warren,jwarren1g@webmd.com 54,Ferdinanda,Bruckent,fbruckent1h@about.com 55,Burtie,De Roberto,bderoberto1i@accuweather.com 56,Issi,McGhee,imcghee1j@over-blog.com 57,Wadsworth,Blaisdell,wblaisdell1k@deliciousdays.com 58,Correy,Carvilla,ccarvilla1l@google.cn 59,Gnni,Gerriet,ggerriet1m@barnesandnoble.com 60,Rita,Barensen,rbarensen1n@simplemachines.org 61,Salomo,Mundle,smundle1o@ed.gov 62,Cherin,Worgen,cworgen1p@diigo.com 63,Barbie,Marden,bmarden1q@archive.org 64,Olympia,Fierman,ofierman1r@foxnews.com 65,Bevon,Martijn,bmartijn1s@angelfire.com 66,Pia,Beynkn,pbeynkn1t@digg.com 67,Hersch,Berick,hberick1u@paginegialle.it 68,Erek,Duran,eduran1v@theatlantic.com 69,Arabella,Risdale,arisdale1w@dell.com 70,Gwynne,Petel,gpetel1x@google.co.jp 71,Feliza,Clardge,fclardge1y@cdc.gov 72,Padget,Greggor,pgreggor1z@tripadvisor.com 73,Emmaline,Spick,espick20@mtv.com 74,Lorrie,Gwyther,lgwyther21@seattletimes.com 75,Malena,Drysdall,mdrysdall22@techcrunch.com 76,Nappy,McPeck,nmcpeck23@constantcontact.com 77,Karlee,Campione,kcampione24@webnode.com 78,Rhoda,Salla,rsalla25@fc2.com 79,Wang,Lamartine,wlamartine26@paypal.com 80,Nalani,Sillito,nsillito27@example.com 81,Jacqui,Swalwel,jswalwel28@time.com 82,Jan,Clempton,jclempton29@live.com 83,Charlie,Rolin,crolin2a@yelp.com 84,Sarene,Beri,sberi2b@cnn.com 85,Antoine,Kemmey,akemmey2c@umich.edu 86,Arabelle,Lammers,alammers2d@uol.com.br 87,Brunhilde,Kingswood,bkingswood2e@deliciousdays.com 88,Constancy,Upcraft,cupcraft2f@creativecommons.org 89,Josefina,Blaine,jblaine2g@themeforest.net 90,Charita,Petrillo,cpetrillo2h@liveinternet.ru 91,Daryl,Goodie,dgoodie2i@ft.com 92,Goober,Haggarth,ghaggarth2j@google.pl 93,Lauretta,Gigg,lgigg2k@unesco.org 94,Barrett,Hoffman,bhoffman2l@ed.gov 95,Stacy,Caro,scaro2m@dailymotion.com 96,Morly,Boniface,mboniface2n@nasa.gov 97,Melinda,McHale,mmchale2o@about.me 98,Johanna,Laird,jlaird2p@europa.eu 99,Efrem,Smeeth,esmeeth2q@friendfeed.com 100,Lewie,Charlewood,lcharlewood2r@dell.com

Your boss has just put you in charge of updating the company's client contact list. Download the following file: contacts.txt This file contains records in the following format: id,first_name, last_name, email 1,Norry,Killby,nkilllby@@photobucket.com Your job is to write a Java program to reformat each record as follows: last_name, first_name, email Killby, Norry Your program should save the output to a file called formatted-contacts.txt

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions