I imagine you would get an error for that statement. When you type this:
public static void startUp(), the compiler is expecting you to create a method, but when you put a semicolon immediately after there (which is what you did), it doesn't really mean anything (it would if you added the abstract identifier and made the class abstract, but that is way beyond the scope of this question).
If you wanted to create a method, you put the identifiers in front (public, static, void are all identifiers) and you don't put a semicolon after it. If you are wanting to call a method, you don't put the identifiers in front and you do put a semicolon after it.
For example:
public void someMethod() { //This is creating a method
}
...
someMethod(); //This is calling a method
Note: The code I just posted will not compile, it was just to illustrate the difference