Forum: Java Nov 20th, 2008 |
| Replies: 3 Views: 466 Whoops, too slow. Check out the javadocs though, it might be helpful in explaining what you need to do. |
Forum: Java Nov 20th, 2008 |
| Replies: 3 Views: 466 http://java.sun.com/javase/6/docs/api/java/io/File.html#renameTo(java.io.File)
Check that out. It's expecting a file, not a string. It seems like you need to create a new file with a filename of... |
Forum: Java Nov 20th, 2008 |
| Replies: 8 Views: 585 I don't know if your goal is to utilize object-oriented programming or not, but typically I would have 2 separate classes (probably in 2 separate file). One would be the "driver" file that contained... |
Forum: Java May 1st, 2007 |
| Replies: 1 Views: 2,651 BLAH! Ok, i should've done a search first. I found my answer.
For anyone else who need's help on this same thing, here's the thread I found:
... |
Forum: Java May 1st, 2007 |
| Replies: 1 Views: 2,651 Dear god. this is driving me crazy. I'm working on an assignment involving inheritence, multiple classes, etc. I'm stuck at one stupid part. I have to write a toString method that formats the text.... |
Forum: Java Apr 8th, 2007 |
| Replies: 3 Views: 1,016 actually, the comparing part wasn't the problem. It was not being able to compare the char type variable with the "#" that was assigned to the mark variable because of incompatible types...
Now... |
Forum: Java Apr 7th, 2007 |
| Replies: 3 Views: 1,016 I'm working on a program where I'm reading a file and I have to count the number of entries in the file. Each entry takes up a different number of lines, but each entry is also separated by a '#'.... |