![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
in example, class C1 { In C++, as i know, physically a member 'x' is located two other place(cc1 & cc2), but a method 'setX' is located one place. So compile-time after, 'cc1.setX(8)' and 'cc2.setX(9) are tranformed secretly to 'C1.setX(cc1,8)' and 'C1.setX(cc2.9)'... In java ,like a C++, is a member independently located as the number of objects, and is a method shared by all same type object? Replies:
|
Sponsored Links
|