What is the difference between the allowance method and the direct write-off method of accounting fo

What is the difference between the allowance method and the direct write-off method of accounting for uncollectible accounts and what are the advantages of using each method? Explain.