Creating an object without parantheses

Title sound kinda silly but I couldn’t find anything that suits better.

According to this site the syntax for creating a Java object is:

<JavaType> <variable> = new <JavaObject>();

Though you don’t use any parantheses when creating an Array object and instead type brackets which contains the length of each dimension.


String[][] stringMatrix = new String[5][10];

What I am wondering is if this syntax is specifically and only for creating an Array object or I can make a custom class whose objects are created in a different way then usual

new <JavaObject>();