Java   View all facts   Glossary   Help
syntactic unit > expression > object creation expression > array literal
Next literalboolean literal    Upliteral, object creation expression    Previous literalstring literal   

array literal comparison table
Subject have example occur be part of has definition have purpose have type is a subtopic of have value is a synonym of is a kind of return perform
literal   A value that appears explicitly in a program  Literals  symbol  
object creation expression in a context where a value is requiredan expressionAn expression that creates a new objectto create a new objectthat is the type of its resultObjectscalled its result, or its return value expressiona value from its computationa computation specified by 0 or more operators
array literal{1,2,3} (array is created at compile time)in a context where a value is requiredan expression to create a new objectthat is the type of its resultLiteralscalled its result, or its return valuearray constantobject creation expressiona value from its computationa computation specified by 0 or more operators

Next literalboolean literal    Upliteral, object creation expression    Previous literalstring literal