KEMBAR78
JAVA Notes | PDF
0% found this document useful (0 votes)
9 views5 pages

JAVA Notes

Java notes

Uploaded by

Timepass
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
9 views5 pages

JAVA Notes

Java notes

Uploaded by

Timepass
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 5
file input Loutpur 9 Cte one [ Hevree hy Stream _¢ oases pus ak J Kile wput Sica] ag re A ce pata mnpud < : A a NE val Ww [Biter inpub streewm = Sparro. a \ ry-eor: Swit input sh cen Out Pat area J = S Fie out Put Str eeu s Byieowrey oh Cn x = ea Giter out put Aes ered [ outinal a owect Ose E aes | cla Output Stree Clogs “Topud Stree Ourpul Stream Clos iT Wy Smout Stree ¢ loa Lig’ used to veal Used +o write ea Cae a Gom elestina- Jodo to oa oh Sten. t Hon Aion Tinout Stream reach Qurput Stream tere ate ag a bytes dodo os olny te il i 2>Il Super aloas is er clas is labStract inputsdrea) re ud put S4¥ $geosg CNA Ses el 2) I Subcloaces of Mlb ¢ los.$x5 of Win p ver re com trem | IY Ble input stream pfle outeu! Stree | 2? RutrArray input Stree ua Byte Prcvay ovis sites _ 3) Alter mut Sher eon Zohie + input Sthre oma 3S ter output Stream 4 object taut put le jadecite O_ptosram to ead _o fie | import java. ia.# | class Ab e : Pe i String Clor . try E [fileReacer x = new ‘fileReacer C'\ inpd. txt"), iii. : while CC i = wreader)t = +1) & ey tem-out-prmtin CCehor) 1) 5 3 B.close <>; a -Caich, CTO Exception “e) rae ea rr Bien. oud pawintln (CV, ae leorite o Proarew Jo wride dota in Hie - 4 ‘joua + jo.%} bev tu) = new ‘file writer C" Agt. tat"? rite CM Filo tkasgsi haye !")° ic lo oy e Cd xception "@’) ing Vong) = arate ee ~ ae [ chaverctey ctey pel eines Me ee java jy clags by “Dablic Qdadic Void main Ctr) Y: $ ung 4 cot 4.) Awd ol =9 , MEO, Ceo + Luffer Reader b = news BulfirReacler Creu fle Peode Chath") ) While Ccunventbine |= wait) g Lecateraadl = Curventline . Split GS ue: We = byt words. length; Lay CString Word i_tWords ). C= Ct words ene nath oy y Cec + Cwords eng thes j. Curventline 2b. nieaidLine oF “No. of ing) “No. Words + WwW “NO: of tres a3 4 2 [2 jo OPP Lo skER

You might also like