Can you tell me the differnce between static method and instance method?
-
Someone told me that the method needs memory ,is this true? In this way,does the static method can share their memories? Thanks!
:^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::^):^):^):^)¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):^):^):^):^):^):^):^):^):^):^):^)
-
Someone told me that the method needs memory ,is this true? In this way,does the static method can share their memories? Thanks!
:^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::^):^):^):^)¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):^):^):^):^):^):^):^):^):^):^):^)
-
Someone told me that the method needs memory ,is this true? In this way,does the static method can share their memories? Thanks!
:^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::^):^):^):^)¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):^):^):^):^):^):^):^):^):^):^):^)
Uhh, every method needs memory to execute. Having said that, a static method does not need memory to be allocated for an object (aka instance) to be executed; as opposed to a non-static method.
Cheers, Vikram.
"If a trend is truly global, then that trend ought to be visible across ANY subset of that data" - fat_boy