Java View all facts Glossary Help |
syntactic unit > expression > object creation expression |
object creation expression comparison table |
Subject | have example | has definition | is a subtopic of | is a synonym of |
---|---|---|---|---|
array literal | {1,2,3} (array is created at compile time) | Literals | array constant | |
new expression | new(Person) | Objects | ||
string creation expression | "a" + "b" (creation is performed at run time) | Strings | ||
string literal | "Hello world!" (created at compile time) | A string of characters between double quotation marks | Strings | literal string |
Next expression: array access expression Up: expression Previous expression: numeric expression