Operator point (.) in java -


i have program made in java (not mine) , i'm trying understand it. there don't understand.

this part of code :

moduleazote m1 = new moduleazote();  result r1 = new result();  m1.resultsimulationhtml = r1; 

what don't unserstand : m1.resultsimulationhtml. in moduleazote class, there no attribut , no method resultsimulationhtml. appears twice in class. don't know is. if can explain me type of element operator point(.) refers, helpful !

despite fact instance variables private (in order hide them within class), classes have variables protected or public modifiers. inheriting class means subclass has variables of superclass. if able access variable outside class in declared, either protected or public.

most ides provide way view variable comes from, including modifiers may have. additionally, javadocs may source of information.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -