You can’t call something that doesn’t exist. Since you haven’t created an object, the non-static method doesn’t exist yet. A static method (by definition) always exists.
You can’t call something that doesn’t exist. Since you haven’t created an object, the non-static method doesn’t exist yet. A static method (by definition) always exists.