Java Java Objects Harnessing the Power of Objects Filling the Dispenser

Could not find or load main class Example (or new created class) why?

Could not find or load main class Example (or new created class) why?

1 Answer

I realized the reason later... Its because i wrote " java Example.java " You have to write: " java Example "

then it works fine :)