isStoresOpen () in this StoresOpen looks like the plural,
When you follow these rules of the Java Naming Convention and Java Beans, they have a predefined prefix for Boolean and other types, so you must follow the Java Beans Naming Convention.
Come to you. When you see storeOpen , as in the English perspective, yes, it looks like a plural. Once again, take a deep look at this word,
Here
storeOpen - plural according to English grammar,
Exiting isStoresOpen is not plural, not singular, or you can say that it is scalar in terms of a programming convention.
This is logical, just true or false
Not like your English plural expression true or false
Not an array of true or false , or not a collection of true or false
So, here we can say that here we are dealing with a value that is a return from this logical bean method, and not with the name specified for the class property to indicate a real-world object.
Another important thing: whenever such logical properties are used in classes, and they are used by predefined libraries in any structure, then a framework with the prefix pre "to get the logical values p>
why does this mean that he is not so much smarter than you, as you know the English grammar as plural / singular, multiplexer, etc.
Anil Kumar Jun 09 '17 at 10:36 on 2017-06-09 10:36
source share