The types of constraints supported in MySQL are ____.
A. primary keys
B. foreign keys
C. legal values
D. All of the above
Answer: D
You might also like to view...
To access a member of an enumeration, follow the enumeration name with ________ the member name.
a) a dot, followed by b) parentheses surrounding c) a space, followed by d) a comma, followed by e) an underscore character, followed by
What is the value of the variable c in the statements that follow?
``` String phrase = "Make hay while the sun is shining."; char c = phrase.charAt(10); ``` (a) w (b) h (c) i (d) None of the above
Which of the following statements is false?
a. A floating-point number is a number with a decimal point. b. Java provides two primitive types for storing floating-point numbers in memory—float and double. c. Variables of type float represent single-precision floating-point numbers and have seven significant digits. d. Variables of type double represent double-precision floating-point numbers; these require twice as much memory as float variables and provide 14 significant digits.
Which statement prints the floating-point value 123.456 right justified with a field width of 10?
a. System.out.printf("%d10.3", 123.456); b. System.out.printf("%10.3d", 123.456); c. System.out.printf("%f10.3", 123.456); d. System.out.printf("%10.3f", 123.456);