Home » Oracle » 1z0-803 » Which code fragment is illegal?
Which code fragment is illegal?
A. Option A
B. Option B
C. Option C
D. Option D
Correct Answer: D
Explanation/Reference:
Explanation:
The abstract keyword cannot be used to declare an int variable.
The abstract keyword is used to declare a class or method to be abstract[3]. An abstract method has no implementation; all classes containing abstract methods must themselves be abstract, although not all abstract classes have abstract methods.
Download Printable PDF. VALID exam to help you PASS.
|
|