Java   View all facts   Glossary   Help
syntactic unit > expression > object creation expression
Next expressionarray access expression    Upexpression    Previous expressionnumeric 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) Literalsarray constant
new expressionnew(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 marksStringsliteral string

Next expressionarray access expression    Upexpression    Previous expressionnumeric expression