More Related Content
More from knangsmiley (9)
จาวา1
- 2. ก ก
ก ก ก ! "#
ก Hardware *+ , *+ - - /- , /- - 0 / * " 1ก 2 ก ,3 /
0" 1ก 4 * *"ก 5 ,3 667 1 *"ก 5 8ก + 9 3+ 4, !2ก;
, 0 <2 , , Set Top Box 4 D D / - * 0 /ก James Gosling -2 -
ก *+ Green Group 1-+ 4 2 Sun Microsystems 0 ก 2Q 2 ก + /+ 2 ,
"R 1991 0 / 2 1 ก3 + Oak 1 +- 2 ก +" 4 8, ก ",3
2 ก + " ก 4ก244 2 Sun Microsystems -8 "#
0" 1ก 4 - 1+ ",3 4 , 9 ก8 (Write Once Run
Anywhere) 4 2 Oak 2Q + ,- "# 144 Object Oriented
, "R 1995 1 "` *42 - /4 2 2Q "# ; 25a 2 2 Visual
J++ (Microsoft) Visual Cafe (Sysmantec) 1 Jbuilder (Borland) "#
- 3. Object Oriented
, ;+ - / 2 + "# Object Oriented 3+ C++ 1 +1 1 /2
+ , ,-;f,3 24" 0/3 ก *5 42 "# Object Oriented
/+ 1 0 /g /+ / *5 42 ก2 -
*ก Plateform 144 Object Oriented 2 1+ Object Model
+ /,- ก " i f * 2ก+ 1+ fก ก144,- "#
144 Object Oriented 0 /1 0 / *ก + "# Object 2 -
+ + class, function - + array 1 1 + "# 4 8ก 2 /ก /f+ /+
/ 3 f ! "# 4 8ก 0 / / / 3 f
- 4. $ % &'()'ก Platform (Platform Independent)
source code fก "# .class - 3* 2 JVM(Java Vitual Machine) ก+ ก
/ก,3 fก 0- 4 fก + /1 fก1" / Interpreter ก - ,- 2
2 2 fก + /, 9 ก8 Virtual Processer ! "# Interpreter ,31" JVM /f+
/ก,3 / + ก 0" 1ก
ก 2
- 5. 45'456 7)6 (89
m 3 2 * 2 / 144ก + 9, 0 ก ก+1
+ /ก + ก 0 / 2 0 /,3- 2กก / 0" 1ก 144 / ก24
C ,-;f / / n C ก+ / /+ 8
m 3 2 * 2 , ก ก 24 ,3,- + ก + 3ก 4 ก
;f,3 + fก 4 ก 1 0 f , ก ;+ Parameter , 1 + 6` ก32
- 3ก 4 ก
m +,3 Pointer 1 +,-;f / 0" 1ก 24 - " + /,- - + /
(Allocate/Deallocate) / 2 "7 ก2 "`q- ก ก24 44 ก
(Allocate) - (Deallocate) - + / 4+ /9 0 / 2 ก ,-
m0" 1ก 3 2 * 2 ก 2 2 - ,3 4 8 ,3
, ก 0- 0" 1ก /ก +
m 2 " 2/ กก " / "# 0" 1ก 2 + +/
- 6. :5 ;(
1 0" 1ก 8ก / fก /ก,3 4 84
4 ! 0 /;+ HTML Page 0" 1ก "# 1 32
"# Standalone 0" 1ก 0/ + <2/0" 1ก 4* ก
ก 2 1 +0" 1ก "# 1 /, 844 ! 0 / +
4* ก ก 2 2-
0" 1ก 1 fก 1 "# 6 .class 1 + +
0/ interpreter (Java.exe) - 0" 1ก "# 1 32 ก /ก,- 1
2 /, HTML Page + 2 0 /,3 1 Tag 1 1 2
/, 1 4 ! 3+ Netscape Navigator, Microsoft Internet
Exporler - HotJava! 2 - "# 4 ! interpreter /f+ /,
- 7. ( : :;<7 )'45 ;
2 1" (Variable) "# 3 - + / - 24,3 ก84 f 3 + 9 1
ก ,3 2 1" " ก 4 /
3 ,3 f ,1 +
ก+ ,3 2 1" " ก < + "# 2 1" 3 f 1 ก - + ,- 2 2 1"
3
· 2 1" instance (instance variables) - 2 1" " 8ก
· 2 1" (class variables)
· 2 1" " 0 (local variables) - 2 1" "