No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
[QUOTE=JamesKox;870320]Hi masijade, I've just done this and edited the code... [CODE] public int read(byte[] b) throws IOException { int number = 0; try { number = new FileInputStream("Hello"); int c; while ((c = number.read()) != -1) { number++; } } finally { if (number != null) { number.close(); } } …
Well, I'm not sure if I understand the problem correctly. It's like.. you want the contents of the list outside the method and the size should be the modified one... so... why not have the list global? Or return the list from the method and call the method where you …
Well, it's quite disappointing and appalling that you haven't given it even a thought and just copied-pasted the whole assignment on the forum. You didn't specify anything as to what you think about the problem and what obstacle you think there is. I hope you don't post again; not such …
Well, which version of jdk do you have? Which IDE (Integrated Development Environment) are you using? Dr. Java or NetBeans or..? I use jdk1.5 and 1.6, edit programs in Notepad++ and run them in command prompt. So, the way I run java files saved in some other location is as …
Well, it clearly seems to me that you haven't put any effort yourself to solve the problem and hence you've written virtually nothing. I mean, you haven't figured out that you need to use a loop in order to change the whole array, let alone what to do in the …
The End.
abbie