Java   View all facts   Glossary   Help
syntactic unit > symbol > operator > new operator
Next operatorpostfix operator    Upoperator    Previous operatorlogical operator   

new operator
(creation operator)
subjectfact 
new operatoris a synonym of creation operator2001-10-19 11:36:34.0
causes
  1. a new instance of the given class is created
  2. memory is allocated for it
  3. a constructor is called
added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:37:30.0
has definition An operator that creates a new object (allocates space for it).source: Sun Java Tutorial, reference: Tutorial, 2001-10-19 11:37:30.0
has example Rectangle rect = new Rectangle();source: Sun Java Tutorial, 2001-10-19 11:37:30.0
has purpose to create a new objectsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:30.0
is a subtopic of Operators2001-10-19 11:37:30.0
is an instance of operatorsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:30.0
see also newadded by: JK, 2001-10-19 11:37:30.0
operatorevaluates to its result2001-10-19 11:37:36.0
has precedence2001-10-19 11:37:36.0
is part of an expression2001-10-19 11:37:36.0
is evaluated before another operator with lower precedence2001-10-19 11:37:36.0
returns a value called its result2001-10-19 11:37:37.0
syntactic unithas syntax rule
bold = mandatory
italic = non-terminal
normal font = optional
2001-10-19 11:38:04.0