tags to format the code. You can edit your post and add them. If you expect any help, do this first.its giving error class interface or enum expected! ,i have checked there is no syntax problem !Sure there is. The compiler is a lot more careful than you are.
1009993 wrote:Well, it's the compiler who decides, so you're wrong.
i have checked program on that basis i am saying there is no error
if u got any then tell me dont make assumptions that it may be or not.We're not assuming anything. The compiler says that there's an error, so there's an error.
tags so it becomes legible. The choice is yours, but if you go for number 1, you'll just be wasting your own time.
You have 2 choices now:
1. Continue whining and not doing anything.
2. Format the code with3. Actually listen to the compiler and go find and fix the mistake :s Either that or continue to believe that the tools are lying to you, which means you are better off going to use something else. It makes no sense to use tools you believe are broken.
tags so it becomes legible.
i have already said that its giving error: class ,interface or enum expected for all three package. i have checked program on that basis i am saying there is no error .if u got any then tell me dont make assumptions that it may be or not.
I know what you said. The point is that the code you posted is incomplete, so nobody else can check it. I took the trouble myself of compiling this code and guessing what the several missing classes and interfaces might be. Have you considered the possibility that it might be one of those that has the error? Have you posted the entire error here? As I suggested? No, you just reposted the same stuff, as far as I can tell, or at least as far as I can be bothered with telling, which is approximately zero at this stage.