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