Hi ranchers Sorry for the incompleted question in the previous forum. Below is the completed question
The answer for the above code is d. But i thought the answers are b,d . Can anyone explain why b is not a correct answer. I read that constant can be a member of an interface.
Hi A constant can be a member of an interface A variable declared within an interface is implicity public static and final which implies that it is a constant, therefore the answer.
If you try to please everybody, your progress is limited by the noisiest fool. And this tiny ad: