งานนำเสนอ1

169 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

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

No notes for slide

งานนำเสนอ1

  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  5.3 1 array {} ,(comma) int a[5] = {10,20,30,40,50 } ; 1
  6. 6. 5  5.4 Element Element 0 scores Element scores[0] Element for (i=0;<9;i++) scores[i]…;
  7. 7. 5  5.5 Array Array ( Reference ) Method Parameter Method
  8. 8. 5  5.6  reference Class Object
  9. 9. 5  5.7 • ( 2 2 Row , Column ( 2 • 2 array array of array array 1 array 2
  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 5.9 String) Object) Class String) String str = new String(“Java”); String str = “Java”; 2 2 Null Character „0‟
  13. 13. 5  5.10 String equals( ) method String Class String 2
  14. 14. 5  5.11 1. class String String Class StringBuffer Class Constructor 3 Constructor - StringBuffer() StringBuffer 16
  15. 15. 5 - StringBuffer(int length) StringBuffer length - StringBuffer(String str) StringBuffer Argument “str” str  2. StringBuffer StringBuilder StringBuffer Thread Save

×