Sorry, I don't speak Welsh.
Type: Posts; User: Norm
Sorry, I don't speak Welsh.
To get help with your code, you will have to post your code and your questions.
Please wrap posted code in code tags. See: BB Code List - Java Programming Forums or Go Advanced and use the #icon
Since you didn't post any question, I guess you've solved it.
It MUST BE EXACTLY as I posted in post#4 EXACTLY!!!
See post#4 and #6 about your missing main method.
You need to use the equals method to compare the contents of objects like Strings. The == operator is for comparing primitives.
Please post the FULL text of any error messages here.
Or explain what your problem is.
Computers are very fussy about spelling and many other things. You must give it exactly what it wants.
The String[] args parameters are where the java command will pass in commandline options that...
There must be a main() method where the java program starts your program that is defined this way:
public static void main(String[] args) {
...
}
That is the only place the java program knows...
What is the question?
Please explain what your problem is. Show the error messages or show what the program does and what is wrong with its output.
To copy the contents of the command prompt...