Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

How do I into java

Name: Anonymous 2011-06-03 19:02

Any Javafags here?

So I'm trying too write a program that will print the letters of a string backwards on each line, but I can only get it too print the last letter of the string infinitely. Can anyone show me how I would get the result I want?

This is what I wrote so far:

String word = "anything";
        int length = word.length();
        char letter = word.charAt(length-1);
        while(length > 0)
        System.out.println(letter);

I'm trying to teach my self java, so any help is much appreciated.

Name: Anonymous 2011-06-04 5:11

>>28
I think you mean:

vim is rather nice. I recommend that.
Or, if you prefer a GUI, you should use gvim if you use Windows.
Or you could install a linux distro. sage for ubanto within which you should use vim/gvim.


Seriously. You can use vim or gvim anywhere. There's no reason not to use it on one system and not on another.

>>30
I found Sublime was more interested in flirting with my GPU than helping me write code. While I was evaluating Windows editors a while back, I found e was quite good, in a comprehensive sense. vim on Windows still beats it, but worth having nonetheless.

>>29,31
Am I reading that right? Is join() really a method on the glue string in Python?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List