I'm
Java newbie and learning essentially from the book Head First Java. I was compiling my first program when a bunch of errors showed up and I dont know how to fix them as I'm religiously following the book.
Code for my first class :-
=============================================================================================================================================
=============================================================================================================================================
Second Class :-
=============================================================================================================================================
The first one compiles easily but when I compile the second one it shows an error
C:\Users\Dhruv>javac JAVA\SinkADotCom\SimpleDotComTester.java
JAVA\SinkADotCom\SimpleDotComTester.java:4: error: cannot find symbol
SimpleDotCom dot = new SimpleDotCom();
^
symbol: class SimpleDotCom
location: class SimpleDotComTester
JAVA\SinkADotCom\SimpleDotComTester.java:4: error: cannot find symbol
SimpleDotCom dot = new SimpleDotCom();
^
symbol: class SimpleDotCom
location: class SimpleDotComTester
2 errors
=============================================================================================================================================
Please HELP I'm a newbie and this is my first program!!!