Given: Why will the code not compile?
A.
The letter field is uninitialized.
B.
It contains a method named Main instead of ma
C.
The getLetter method has no body.
D.
A static field cannot be private.
E.
There is no setLetter method.
Given: Why will the code not compile?
A.
The letter field is uninitialized.
B.
It contains a method named Main instead of ma
C.
The getLetter method has no body.
D.
A static field cannot be private.
E.
There is no setLetter method.
C
Answer: C