Android Application Development (AND-401) — Question 59
Which of the following is incorrect about the LogCat tool?
Answer options
- A. LogCat UI tool is available inside Android Studio.
- B. You can create a log in your application using Log.v(String, String)
- C. Each log message has a tag
- D. Only one of your applications can create log entries, and it should be component class (Activity,Service,...etc)
Correct answer: D
Explanation
The correct answer is D because multiple applications can create log entries, not just one. The other options are accurate; LogCat is integrated into Android Studio, log messages can indeed be created using Log.v, and each log message does have an associated tag.