View Single Post
Old 11-25-2011, 12:37 PM   #15
berryapp
Knows Where the Search Button Is
 
Join Date: Nov 2011
Model: 9800T
PIN: N/A
Carrier: Rogers Canada
Posts: 34
Default Re: Read String in File text.

Quote:
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