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
Init ~ 5
oom and streavs "3
Lo
ee Introduction g
t joing Wepwresem® @ sequence.
f ef chasacters. The easie xb way fo Tepresent
' A sequence of characters im java is by
- & posias a chovacter array.
alata) pe _vasiahlename = Neo 4450 (size).
b name [2] =" nh? Name Cs] = 5
i N= 2d
t inet
ie Sherings ave. class objects and _implimen-
| 7 pted using td cDasses, namely sta. and
Sheng Babies. "A Save. etring is _an ‘instantiated
i ass |objecF og) the string class.’ as string is
Hey not @ character avray and is not NULL
sa tesminated .. string wmay be declared sand
E an coreorten) . =
y : Striry, sigan
String. name Shing Fae
24. Eandecae Sane Stoieg (* Abhira} a |
Tt is possible, te get the length
of sheng using — thes length _ method of the,- st. folowerCase 2- Converts
61 to all Lowercase
a- Convests the ch
\pper
eet eTae
Fo eae\ J
| ied —_—— yore ———
| oF te Cant) ano j disize 0% 1) fa
et t f airs
Syston: ccd ipsint ln (name Ci )s
ax 5~ pee sfarcan) ehosses Zt.
ji Tava uses the concept ok
| fo vepresent the ordewed gequenct.
A veommen charactor stiee shored
{t
input / ouspet A !
t f in dave fo
vices.
a large, number of
Iprovides capabilities for
ob data+ These classes 1
jato dy0. groups. yop,
Ton whack hed
B Byte stream
“eperations Ge byes.
<= i i bm llfRemlier
annie tel ||
The super cl put Stream |
abstract _ obs daae ere ee 9
create tnshances of this class. The InputStream
class defines _metheds for _perborming input
gunctions =
) React
h Chosis Se :.
+ it) Making positions fa shreame es
liv)_skipp ahead in a stream
v) Finding, the number of bytes ina shream.
Output Srream Chassee 3-
fs Output _shream classes ave. derived
[From the bate ‘class OtetputStream. The.
Oukputstream fs an abstract class _and_dherefore
Dee cannot instandiote ft. The several
DT cubdasses of the OutputShream can be used
Le perfrrming fhe Op operations -
oni te rites a ite +o g ofp Sfreae
7b) ie 3 all bytes io the
yb to the ofp sheamThe writer class) in an absbract class
ade as a base clase for all the
Leomker pstream\ classes. This base class |
“prvall’ cufput ope rahi
thods| fiat are indentical +o _
tS
class) oy
2kelye 2a