Include the question, the answer, and source of the definitive answer
6. What is the effect of the command mDateButton.setEnabled(false);
It disables the Button, meaning it cannot be clicked.
3) What are the elements of the Android software stack?
a) A Linux kernel
b) Android runtime and libraries
c) Android Framework (including Managers)
d) Key Applications
A. Jelly Bean, Kit Kat, Lollipop, Marshmallow
B. The above Android versions are used by 88.7% of devices. (Assuming 4.1 or higher, according to the new project tool in android studio)
C. Developers can be sure that their API works across all of these devices.
We have used anonymous inner classes in our labs. What role do they play?
The anonymous inner class has access to the final outer variables, this makes the code easier to follow. They help remember that everything within the outermost set of parentheses is passed through the inner class. Basically used for stylistic preference.
Reference:
http://stackoverflow.com/questions/19265626/why-should-i-use-anonymous-classes-in-android-instead-of-class-redefinition