incompatibletypeerror

Incompatible Type Error Java

I'm writing code in Java, using the NetBeans IDE. I keep getting a couple of "Incompatible Type" errors. I declare a variable as String and then assign to it the value from a method that returns a String too. The error says that there was expected a type of "String" but instead found "..." where "..." the name of the method I call. For ...

Why is my return value not allowing me to compile? (See pastie'd code inside)

Hey there. I am trying to return an array, but the compiler is telling me that it's an incompatible type..? My code: http://pastie.org/private/v4xn4eahkojftsghudf1g I'm a beginner at Java, sorry about this :) Thanks very much. ...