Well, yes, from that perspective you can put pretty much anything in a property file. But from the exam perspective, the property file should contain name=value pairs and from the contents of the given property file, it is quite clear that "bonjour,greetings2=no bonjour" is not a greeting.
HTH,
Paul.
If you like our products and services, please help us by posting your review here.
Again, you are right about what you are saying and you can argue with us about it as well. But you won't be able to do so in the real exam and there you may find similar values
If you like our products and services, please help us by posting your review here.
Probably it's needed to add that colon (:) and blank space ( ) work as separators too. Comments might also be specified with "!".
I failed to find official Javadoc for this though but it works and it's known.