To improve readability and maintainability, you should declare _________ instead of using literal values such as 3.14159.

a. variables
b. methods
c. constants
d. classes

c A constant gives a literal a descriptive name and makes the code more readable.

Computer Science & Information Technology

You might also like to view...

The getValue() method is overridden in two ways. Which one is correct?

``` I: public class Test { public static void main(String[] args) { A a = new A(); System.out.println(a.getValue()); } } class B { public String getValue() { return "Any object"; } } class A extends B { public Object getValue() { return "A string"; } } II: public class Test { public static void main(String[] args) { A a = new A(); System.out.println(a.getValue()); } } class B { public Object getValue() { return "Any object"; } } class A extends B { public String getValue() { return "A string"; } } ``` a. I b. II c. Both I and II d. Neither

Computer Science & Information Technology

Gmail allows you to prioritize messages using the _____ important icon.

A.
B.
C.
D.

Computer Science & Information Technology