-2

Start. Applet not initialized. My source code doesn't have any "bugs", but I am still unable to successfully run and compile the source code on Eclipse. How do I get the source code to successfully run and compile on Eclipse?

enter image description here

Andy Turner
  • 137,514
  • 11
  • 162
  • 243
Daniel Mera
  • 101
  • 2

1 Answers1

0

You have a made a common error, often situated with novice Java programmers. You have a class named ConvertCelsiusToFahrenheit, but the name of the file isn't the same. Remember, that one Java class is allowed per file (unless if nested or not public), and the file must have the same name as the class. See the question for why a file must me named as its class

Community
  • 1
  • 1
Arnav Borborah
  • 11,357
  • 8
  • 43
  • 88