PrepAway - Latest Free Exam Questions & Answers

Which of the following is correct about saving files in cache?

Which of the following is correct about saving files in cache?

PrepAway - Latest Free Exam Questions & Answers

A.
Cache file can only be created in internal memory

B.
By using getCacheDir()method

C.
By using getExternalStorageDirectory()method

D.
Both options “By using getCacheDir()method” and “By using
getExternalStorageDirectory() method” are correct.

4 Comments on “Which of the following is correct about saving files in cache?


Leave a Reply

Your email address will not be published. Required fields are marked *