Himai Minh wrote:try this:
and
See if it compiles.
On compiling the code with your suggested changes it does not work and gives the error as follows-
The changed code as follows -
Kindly help me friends i tried with other ways too and am also looking into the problem.
I have a folder named "dd" in which i have placed the Tt.java and Tte.java source files.
And then i have compiled them as following - C:\Documents and Settings\User\Desktop>javac dd\Tt.java // compiles properly
C:\Documents and Settings\User\Desktop>javac dd\Tte.java // on compiling it shows 3 errors as shown above
From the above as you can see, i am compiling from my current directory-> Desktop
Am i compiling correctly , please correct me if i am wrong