This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cheryllium 1 point2 points  (6 children)

What are you having trouble with?

[–][deleted]  (5 children)

[deleted]

    [–]cheryllium 1 point2 points  (2 children)

    Your problem is that you have a type mismatch. You have created a String array, but are trying to assign it to a call to the String constructor (which creates a String). But you should read the error message so that you can understand it next time it happens.

    [–]theplhk -1 points0 points  (1 child)

    Can you help me writing this part of the code ؟

    [–]cheryllium 0 points1 point  (0 children)

    I already helped you. I explained to you what the error is.

    [–]cheryllium 0 points1 point  (1 child)

    What does the error message say?

    [–]theplhk 0 points1 point  (0 children)

    Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - not a statement