, - . .
19 .
. .
.
, , private.
20
, .() . . () , .
2 :
(.):
.- : () .
21
( ) (1. ,2. ) ( ) : ( ) ( )
String S=br.readLine();
double u= Double.valueOf(S). doubleValue();
int I;
double u= Double.valueOf(I). doubleValue();
S.toCharArray();
26
Object 24
Object - . Object , . Object
= getClass Class, . Class . , , , , , , . , synchronized , Class .
= toString .
= equals hashCode java.util.Hashtable. equals , , .
= clone .
= wait, notify, notifyAll , .. = finalize
|
|
27
,, ,,.
.. .: , .
Able
Comparable 2
Runable
Serialirable
28
:
Interface Declaration{} public, static final.- , , .
, , , .
.- . :
,
,
29 .. . , . . , ..
, . -
, .30
( , , ) , , , , . . trows .
31 .. , . [extends ][implements interface [..,interface]]{ . - 32 33 < ..>.< . .()> 34 , . - . - . < ..>.< . .()>.this. . 38 . . FINAL . 39 . :1. 2.42
|
|
, , -, . , , , - .
. :
stop Thread ThreadGroup
(InternalError)
Stop , . - , . InternalError , , stop , .
1
- . .
. , .
, . , . . , . . .
( . " ") , . . Java , .
, , . , , .