So it turns out that I study at the same time C ++ and Java. Confused than the qualifier differs from the specifier from the modifier in these languages. As far as I understand in Java there is no term "qualifier". It's right?

  • 2
    Each language has its own terminology, so do not worry. The word “link” in C ++ and Java means radically different things. - VladD
  • Confused even in the framework of the 1st language - Mike AJ

2 answers 2

Generally speaking, it depends on the particular entity. For example, the “modifier” is more commonly used with the word “access” - three generally accepted modifiers.

The specifier - more often, in conjunction with the "specificity" of something - for example, the constancy of the memory cell - "const" (in this example, the type of the constant can also be a specifier - depends on the point from which "specificity" is considered).

A qualifier , for example, can be a special property - the first thing that comes to mind is the keywords "sealed" / "final", which provide the class with "qualification" to ban descendants.

PS Generally speaking, it may well seem that all this is sucked from the finger (in fact, it is), but this only emphasizes that the specific meaning depends on the context (language) in which it is used and on the language. For example, the modifier / qualifier / access specifier is in most cases the same thing.

  • one
    The answer is reasonable and ultimately there is exactly as much meaning in words as native speakers put into them, but BUT: there are formal definitions of languages in which words have a well-defined strictly defined meaning and then there remains only a question how to translate into Russian (which is not a mechanical activity , but the link with the original should be). If a hint of (quite reasonable) definitions given in the answer correspond to how these words are used in actual language specifications, then it is worth mentioning. - jfs

the term is. google://"qualifier site:https://docs.oracle.com/javase/specs/jls/se8"

look at the language specification always, find there both terms and synonyms for them

PS In general, this is all - in the sense of - synonyms, but, as a rule, there are exact, correct names from the specification. They should be used.