Creating and running a public class
golazo08 (2)

Why does my public class SecondClass not run? Do I always have to use public Main? What if I want to create and run a public class?

You are viewing a single comment. View All
vedprad1 (873)

You can only run the Main class. If you want to run another class, you have to use Objects.