Briefing Android Knowledge

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

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

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.