Télécharger pour Windows Premium
Publicité
static class
/'stæt.ɪk klɑː s/
/'stæt.ɪk klæs/
Définition
class in programming that cannot be instantiated  ... Voir plus
clasă statică
clasă fixă
Once we declare a static class, we cannot instantiate it anymore
Odată ce declarăm o clasă statică, nu putem să o mai instanțiem
This indicates to us that the correct way of creating a static class with a constructor is like this
Acest lucru ne indică faptul că modul corect de a crea o clasă statică cu un constructor este acesta
Returns static class instance, which can be used to obtain meta information.
O clasa de model poate fi folosita pentru a inregistra aceste date.
Static class members will not be shown.
Membrii statici ai claselor nu vor fi afișați.
You may ask yourself where is the constructor called, since we never instantiate our static class.
Poate vă întrebați unde este apelat constructorul, de vreme ce nu instanțiem clasa noastră statică.
Since static members cannot access non-static elements, if we declare a static class, all the properties, fields, methods and functions of that class must also be static.
Întrucât membrii statici nu pot accesa elemente non-statice, dacă declarăm o clasă statică, toate proprietățile, câmpurile, metodele și funcțiile acelei clase trebuie să fie de asemenea, statice.
The method returns an AR instance that is used to access class-level methods (something similar to static class methods) in an object context.
Metoda returneaza o instanta AR care este folosita pentru a accesa metodele clasei (asemanator cu metodele unei clase statice) in contextul unui obiect.

Autres résultats

This is because a static element cannot access non-static class level members.
Acest lucru se datorează faptului că un element static nu poate accesa membrii de nivel de clasa non-statici.
We learned about static electricity in science class and did a few experiments.
La ora de științe am învățat despre electricitatea statică și am făcut câteva experimente.
The static keyword defines a static method for a class.
Cuvantul cheie static defineste o metoda statica a unei clase.
And it's in a class two static field which should protect it under most normal circumstances.
Și e un câmp static de nivel doi care ar trebui să-l protejeze în condiții normale.
And it's in a class two static field which should protect it under most normal circumstances.
Și este într-o clasă doi statică câmp care ar trebui să-l protejeze în cele mai multe cazuri normale.
4927 - Autocomplete shows non-static methods when using class name
4927 - Completarea automată prezintă metode non-statice atunci când se utilizează numele de clasă
Aucun résultat pour cette recherche.

Synonymes et analogies de "static class" en anglais

Le mot et l’expression du jour
L’image du jour
down jacket: jacket filled with soft feathers for insulation
Découvrir le mot
Publicité

Résultats: 49. Exacts: 7. Temps écoulé: 36 ms.