new A;
new B();
new C {
};
new D::<>;
new E::<>(){};
new stack List
{
"term"
}
new Integer::() {
}
new stack List:: () {
}
new stack List(10)
{
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
}
new stack List::(capacity: 10)
{
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
}
new stack Object {
item1,
item2,
(tuple1, ),
(key, value),
key: value
}
new keywords BaseballTeam:: (args) {
name: "object one",
Size: Math::PI,
["RF"]: "Mookie Betts",
["CF"]: "Mike Trout",
(key),
(key,),
(key, value),
(key, value1, value2),
new IndexersExample {
[1]: '1',
[2]: '4',
[3]: '9',
['C', 4]: "Middle C",
['A', 4]: "440 Hz",
['F', 7]: "F above middle C",
['C', 'A', 0]: "C above A above C above middle C",
},
[4]: "Jose Altuve",
}