Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does qualify mean?

When reading articles, manuals, etc... about programming, i always come across the word qualified. like in java the fully qualified class name would be com.example.Class. Reading this article, defines the scope resolution operator :: in C++ as being used to Qualify hidden names so you can still use them. Is there a definition for this ? Beccause it seems to be used in a different context each time.

like image 956
FutureSci Avatar asked Sep 14 '13 14:09

FutureSci


People also ask

What does it mean to qualify something?

intransitive verb. 1 : to be or become fit (as for an office) : meet the required standard. 2 : to acquire legal or competent power or capacity has just qualified as a lawyer. 3a : to exhibit a required degree of ability in a preliminary contest qualified for the finals.

What is the use of Qualify?

[transitive] to give someone the skills and knowledge they need to do something qualify somebody (for something) This training course will qualify you for a better job. qualify somebody to do something The test qualifies you to drive heavy vehicles.

What does it mean to qualify a situation?

To qualify is to be entitled to something or to fit the requirements of something, or to modify or soften a statement or action. When a job requires a college degree and you have a college degree, this is an example of a time when you qualify for the job.

What does do not qualify mean?

1 : not fit : not having requisite qualifications. 2 : not modified or restricted by reservations : complete an unqualified denial.


1 Answers

In computer programming, a fully qualified name is an unambiguous name that specifies which object, function, or variable a call refers to without regard to the context of the call. In a hierarchical structure, a name is fully qualified when it "is complete in the sense that it includes (a) all names in the hierarchic sequence above the given element and (b) the name of the given element itself." Thus fully qualified names explicitly refer to namespaces that would otherwise be implicit because of the scope of the call. While always done to eliminate ambiguity, this can mean different things dependent on context.

Source Wikipedia

In short what it means is that,

You can have a class named Math in your project, but Math is already present in Java too.

So for unambiguously identifying which class you are actually referring to you need to qualify the name with package too:

java.lang.Math //refers to java class Math
org.myproject.Math //refers to your project Math class
like image 56
Narendra Pathai Avatar answered Sep 24 '22 21:09

Narendra Pathai