Deloitte interview question

Diff. between cash accounting method & accrual method