When creating a file using android.content.Context.openFileOutput("test.txt", 0), where is the file created?

When creating a file using android.content.Context.openFileOutput("test.txt", 0), where is the file created?
A . /data/app/<package name>/files
B . /data/data/<package name>/files
C . /system/app/<package name>/files
D . /system/data/<package name>/files

Answer: B

Explanation:

The file is created in the /data/data/PACKAGE_NAME/files folder.

References: http://www.programcreek.com/java-api-examples/index.php? class=android.content.Context&method=openFileOutput

Latest AND-401 Dumps Valid Version with 228 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments