View Single Post
Old 11-25-2011, 12:37 PM   #15 (permalink)
Knows Where the Search Button Is
Join Date: Nov 2011
Model: 9800T
Carrier: Rogers Canada
Posts: 34
Post Thanks: 3
Thanked 5 Times in 5 Posts
Default Re: Read String in File text.

Originally Posted by berryapp View Post
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.
Offline   Reply With Quote