A.
a, e
i, o
B.
a, e
o, o
C.
e, e
I, o
D.
e, e
o, o
a, e
o, o
Given the code fragment:
What is the result?
A.
May 04, 2014T00:00:00.000
B.
2014-05-04T00:00: 00. 000
C.
5/4/14T00:00:00.000
D.
An exception is thrown at runtime.
An exception is thrown at runtime.
java.time.temporal.UnsupportedTemporalTypeException: Unsupported field: HourOfDay
Given:
What is the result?
A.
True false
B.
True null
C.
Compilation fails
D.
A NullPointerException is thrown at runtime
True false
Given:
What is the result?
A.
The sum is 2
B.
The sum is 14
C.
The sum is 15
D.
The loop executes infinite times
E.
Compilation fails
Compilation fails
Which two are benefits of polymorphism?
A.
Faster code at runtime
B.
More efficient code at runtime
C.
More dynamic code at runtime
D.
More flexible and reusable code
E.
Code that is protected from extension by other classes
More dynamic code at runtime
More flexible and reusable code
Page 6 out of 48 Pages |
Previous |