Join Slack
Powered by
Hi, how could affect application changing val to v...
# announcements
m
mike_shysh
12/26/2017, 9:19 AM
Hi, how could affect application changing val to var in terms of memory usage?
g
gildor
12/26/2017, 9:29 AM
Are you talking about public property?
m
mike_shysh
12/26/2017, 9:41 AM
val/var for field declaration
g
gildor
12/26/2017, 9:43 AM
properties are not fields.
gildor
12/26/2017, 9:44 AM
Property is get (val) or get+set method (var) + field for value, if you don’t override getters and setters
Open in Slack
Previous
Next