We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fa034e commit 4633593Copy full SHA for 4633593
content/api_en/include/ArrayList.xml
@@ -17,7 +17,7 @@
17
18
// Declaring the ArrayList, note the use of the syntax "<Particle>" to indicate
19
// our intention to fill this ArrayList with Particle objects
20
-ArrayList<Particle> particles = new ArrayList<Particle>;
+ArrayList<Particle> particles = new ArrayList<Particle>();
21
22
// Objects can be added to an ArrayList with add()
23
particles.add(new Particle());
0 commit comments