Java Survey - methods in a Java interface with or without public access modifier
Should methods in a Java interface be declared with or without a public access modifier?
Do you use public keyword in method declaration?
Keyword public is not mandatory and public access is default on interface's method.
Yes, I do.
No, I do not.
Describe your opinion.
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google.
Terms of Service