| size() | ใช้คืนค่า จำนวนข้อมูลทั้งหมด ที่มีใน Properties |
|---|
method:size ();
return type:int
content:ใช้คืนค่า จำนวนข้อมูลทั้งหมด ที่มีใน Properties
example:Properties properties = new Properties (); properties.put ( "bamboo", "ไม้ไผ่" ); properties.put ( "lab", "ห้องปฏิบัติการ" ); properties.put ( "code", "รหัส" ); int size = properties.size ();