Professional Documents
Culture Documents
Untitled Notebook
Untitled Notebook
Untitled Notebook
Mrymk
1)Adt = abstract data type .is an abstraction of data structure which provides
only interface( )واجهةto which data structure must adhere ()التمسكto.the
interface doesn’t give any specific details about how something should be
implemented()تنفيذ.
&
active
active
active
Example
Java identifies type of
the computer as
notebook and calls the
tostring() method
Business
associated with
man
notebook
↓ ↓ ↓ ↓
Byle Double Integer Short
14)example
eger
athing=
Value = 25
athing.toString(); V
athing.intValue(); x
15)why does the following a syntax error:
↓
Upcasting Downcasting
· Can be done implicitly· be implicit
Can't
to
object parentobject