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

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -