Which of the following declarations are illegal? (Choose all that apply.)
w()
; hyperbolicCosine()
; A, D, E.
A is illegal because "default" is not a keyword.
B is a legal transient declaration.
C is strange but legal.
D is illegal because only methods and classes may be abstract.
E is illegal because abstract and final are contradictory.