DEVFYI - Developer Resource - FYI

Can we define private and protected modifiers for variables in interfaces?

Java Interview Questions and Answers (part 2)


(Continued from previous question...)

363. Can we define private and protected modifiers for variables in interfaces?

Yes.

(Continued on next question...)

Other Interview Questions