Forum: Java Nov 3rd, 2009 |
| Replies: 0 Views: 189 When i do something like
static int call (Object a){
}
main(){
call(10);
}
it works because of autoboxing |
Forum: Java Jun 4th, 2009 |
| Replies: 11 Views: 541 There is a syntax error in the second for loop..
the opening braces should be before "int" |
Forum: Graphics and Multimedia Mar 9th, 2009 |
| Replies: 1 Views: 962 Hello,
I need to create a header for my web page. Am thinking of creating one with Thunder Effect in it. Is there any website which has template for the thunder effect so that i could modify it for... |
Forum: Java Dec 29th, 2008 |
| Replies: 1 Views: 1,411 Am searching for an efficient algorithm for generating solved Sudoku given the size(rows and column) of the board as input.
i have written a program but its performing badly when the number of... |
Forum: Java Dec 10th, 2008 |
| Replies: 3 Views: 382 After reading a line from the file can you check whether it is null, before passing it to the stringtokenizer.
That can prevent this "Null pointer exception."
Hope it helps!!! |
Forum: Java Dec 10th, 2008 |
| Replies: 4 Views: 1,031 Better use
String str = ("Data: " + Arrays.toString(data) + "\nMean: " + mean);
Also your returning "str" in the toString method but you are not printing it in the main function of... |
Forum: Java Dec 10th, 2008 |
| Replies: 14 Views: 1,399 Put this line instead of yours
String[] sarray = s.split("[\\.?!]");
Btw '.' is a regular expression which means "match any character"
So use the escape sequence. |
Forum: Java Aug 19th, 2007 |
| Replies: 3 Views: 1,553 i searched it and got mostly jar files...however the rest gave bizarre error messages in compilation...as i am new to java cant make anything out of it...
you hav any other suggestion.... |
Forum: Java Aug 18th, 2007 |
| Replies: 3 Views: 1,553 i need source code for parts of speech parser in java...can someone help |