Data Types And Variables - Study Mode

[#71] How is Date stored in database?
Correct Answer

(A) java.sql.Date

[#72] Which method returns the elements of Enum class?
Correct Answer

(B) getEnumConstants()

[#73] If an expression contains double, int, float, long, then the whole expression will be promoted into which of these data types?
Correct Answer

(C) double

[#74] Which of these can be returned by the operator &?
Correct Answer

(D) Integer or Boolean

[#75] Which data type value is returned by all transcendental math functions?
Correct Answer

(C) double