Quote:
Originally Posted by berryapp
Since your method returns String, so you need to have the method declaration accordingly, i.e.,
String Connect() { //instead of Connect() {
|
Since you placed the code within a constructor, remove the return statement.