Deloitte Interview Question

Totally related to basic java concepts and test cases for real examples like uploading a file what positive and negative test cases will you cover.