Question d’entretien chez TCS NextStep

Difference between truncate and delete. Asynchronous vs synchronous function File handling in java