プロの翻訳者、企業、ウェブページから自由に利用できる翻訳レポジトリまで。
new java() will create an instance of a class if a suitable constructor is available.
new java() will create an instance of a class if a suitable constructor is available. if no parameters are passed and the default constructor is useful as it provides access to classes like java.lang.system which expose most of their functionallity through static methods.
the class constructor or methods whose names start with an underscore character (_), which are considered private to the aggregated class, are always excluded.
the class constructor or methods whose names start with an underscore character (_), which are considered private to the aggregated class, are always excluded.
aggregates all methods defined in a class to an existing object, except for the class constructor, or methods whose names start with an underscore character (_) which are considered private to the aggregated class.
aggregates all methods defined in a class to an existing object, except for the class constructor, or methods whose names start with an underscore character (_) which are considered private to the aggregated class.
if you omit the call to the copy constructor in this example, both parameter and return_value would point to the same internal data, meaning that return_value would be an illegal additional reference to the same data structures.
if you omit the call to the copy constructor in this example, both parameter and return_value would point to the same internal data, meaning that return_value would be an illegal additional reference to the same data structures. whenever changes occurred in the data that parameter points to, return_value might be affected. thus, in order to create separate copies, the copy constructor must be used.