0
Executing java~ Problem is doesn't find the main class
Code: Public class Awesome{ public static void main (String[] args) {System.out.println("I'm learning how to program in java."); System.out.println("That's Awesome!");} } Result: Awesome.java:1: error: class, interface, or enum expected Public class Awesome{ ^ 1 error Error: Could not find or load main class Awesome what change do I make so it produces the correct result?
2 Answers
+ 2
just replace first P by p: java is case sensitive ^^
0
Thank you so much @visph
it worked now I just have to space it a bit so it matches the requirements of the assignments.
Appreciate you help