Forum: Java Oct 13th, 2009 |
| Replies: 3 Views: 261 The == operator does not compare the characters of the string. It checks to see if they are referring to the same object. Use the mail.substring(N).equals("hotmail.com") method to compare the... |
Forum: Java Jul 31st, 2009 |
| Replies: 6 Views: 355 Try looking around this site: https://labs.ericsson.com/apis/mobile-java-communication-framework/forums/general-development-information/sony-ericsson-sdk-224-javatm-me-platform |
Forum: Java Apr 18th, 2009 |
| Replies: 6 Views: 389 I should also mention, that if you did want to use a try-catch block (i.e. handle the exception in the constructor) then leave the field declaration as [icode]Scanner scan;[/code] and initialize the... |
Forum: Java Apr 18th, 2009 |
| Replies: 6 Views: 389 You need to declare the FileNotFoundException in the signature of any constructors, because any variables that are initialized in the field declaration, is like it being initialized in the... |