anonymous object

1 topic · 1 source

Technology› Programming

Java

An object created without an identifier. They are usually created as array elements, actual arguments or method results. For instance

 private Point[] vertices = { new Point(0,0), new Point(0,1), new Point(1,1), new Point(1,0), }; 
See anonymous class, as these often result in the creation of anonymous objects.

Cite this definition

APA
MLA
Chicago