| length() | ใช้คืนค่า ขนาด ของ file ( หน่วย byte ) |
|---|
method:length ();
return type:long
content:ใช้คืนค่า ขนาด ของ file ( หน่วย byte )
example:String path_file = new String ( "C:/bamboo.txt" ); RandomAccessFile random_access_file = new RandomAccessFile ( path_file, "r" ); long size_file = random_access_file.length ();