Upcoming SlideShare
×

# งานนำเสนอคอม

170 views

Published on

0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
Your message goes here
• Be the first to comment

• Be the first to like this

Views
Total views
170
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
2
0
Likes
0
Embeds 0
No embeds

No notes for slide

### งานนำเสนอคอม

1. 1. 5 1 15 16 20 23
2. 2. 5 array Element) Index)
3. 3. 5 5.1 array 1 array array[ array];
4. 4. 5 5.2 int [] abc , xyz; abc = new int[500]; xyz = new int[10]; int[] abc = new int [500], xyz = new int[10]; *** int [] a , b ; a b Array int a[], b ; a Array b Array
5. 5. 5 1 5.3 array {} 1 ,(comma) int a[5] = {10,20,30,40,50 } ;
6. 6. 5 5.4 Element Element 0 scores Element scores[0] for (i=0;<9;i++) scores[i]…; Element
7. 7. 5 5.5 Array Method Array ( Reference ) Parameter Method
8. 8. 5 5.6  reference Class Object
9. 9. 5  5.7 • 2 2 Row ( , Column ( 2 • 2 array of array 2 array array 1 array
10. 10. 5 5.8 ArrayList ArrayList array ArrayList *** import import java.util.ArrayList;
11. 11. 5 method , 1.add( 2.remove( 3.get( 4.indexOf( 5. size()
12. 12. 5 String) 5.9 Object) Class String) String str = new String(“Java”); = “Java”; 2 2 String str
13. 13. 5 5.10 String equals( ) method String Class String 2
14. 14. 5 5.11 1. class StringBuffer Class 3 Constructor - StringBuffer() String String Class Constructor StringBuffer 16
15. 15. 5 - StringBuffer(int length) StringBuffer length - StringBuffer(String str) StringBuffer Argument “str” str 2. StringBuffer StringBuilder Thread Save