Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
Members have full access to the forums. Advertisements are removed for registered users.
What does that code do? What is the problem? Does it throw an Exception? Does it compile? Does it exhibit some strange behavior? Something else?
I'm not sure how to interpret your code- is this supposed to be one class file? Multiple classes? You'll have much better luck being more specific about your problem and posting an SSCCE that we can run ourselves.
Please explain what the program does when compiled and executed. Why do you think there is something wrong? What does the program not do that you want it to do?I really cant tell whats wrong
Please post a complete program that can be compiled and executed for testing.
Copy the full text of the compiler's error messages and post it here. It has important info about the problems.gives me an error