Java View all facts Glossary Help |
syntactic unit > expression > object creation expression > new expression |
new expression comparison table |
Subject | have example | occur | be part of | have purpose | have type | have syntax rule | is a subtopic of | have value | is a kind of | return | perform |
---|---|---|---|---|---|---|---|---|---|---|---|
array creation expression | new int[10] (array is created at run time) | in a context where a value is required | an expression | to create a new object | that is the type of its result | bold = mandatory | Arrays | called its result, or its return value | new expression | a value from its computation | a computation specified by 0 or more operators |
Next object creation expression: string creation expression Up: object creation expression Previous object creation expression: array literal