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
(array constant)
subjectfact 
array literalis a synonym of array constant2001-10-19 11:36:05.0
has example {1,2,3} (array is created at compile time)added by: DS, 2001-10-19 11:36:06.0
is a subtopic of Arrays2001-10-19 11:36:06.0
is a subtopic of Literals2001-10-19 11:36:06.0
is a kind of literaladded by: DS, 2001-10-19 11:36:06.0
is a kind of object creation expressionadded by: DS, 2001-10-19 11:36:06.0
object creation expressionhas purpose to create a new object2001-10-19 11:37:33.0
expressioncan be part of an expression2001-10-19 11:36:41.0
has type that is the type of its result2001-10-19 11:36:42.0
has value called its result, or its return value2001-10-19 11:36:42.0
occurs in a context where a value is required2001-10-19 11:36:42.0
performs a computation specified by 0 or more operators2001-10-19 11:36:42.0
returns a value from its computation2001-10-19 11:36:42.0
syntactic unithas syntax rule
bold = mandatory
italic = non-terminal
normal font = optional
2001-10-19 11:38:04.0