View Single Post
Old 11-25-2011, 11:37 AM   #15 (permalink)
berryapp
Knows Where the Search Button Is
 
Join Date: Nov 2011
Model: 9800T
PIN: N/A
Carrier: Rogers Canada
Posts: 34
Post Thanks: 3
Thanked 5 Times in 5 Posts
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