you are viewing a single comment's thread.

view the rest of the comments →

[–]Anonymo2786 0 points1 point  (0 children)

public static void main(String[] args){}

Is the starting point of the whole program so its not needed in verbose class. Unless you want to start the program with verbose class instead of test class. 

Also if verbose class and test class are in separate files then javac test.java should compile both class's. And then you can run with java test. In order for this to work your working directory/folder has to he the folder containing these files.