Which of the following statements declares a variable that can contain a decimal number?
A. dec payRate;
B. dec hourlyPay
C. float payRate
D. float hourlyPay;
E. None of the above
Answer: Option D
A. dec payRate;
B. dec hourlyPay
C. float payRate
D. float hourlyPay;
E. None of the above
Answer: Option D
A. all thrown objects
B. no thrown objects
C. any thrown object that has not been caught by an earlier catch block
D. all thrown objects that have been caught by an earlier catch block
Format flags may be combined using
A. the bitwise OR operator (|)
B. the logical OR operator (||)
C. the bitwise AND operator (&)
D. the logical AND operator (&&)
E. None of the above
Join The Discussion