public class BOAT
{
this is a boat.
look at my java boat.
go boat go.
why is there so many boats on my java?
this is such a neat program.
there are double the number of integers on my boat.
my boat can float.
i think i should import my boat from sweden so it will float.
lolz i have purple words. this is a purple word.
}
Name:
Anonymous2007-04-24 16:26 ID:aRku2wHr
Are boats Touring-complete?
Name:
Anonymous2007-04-24 16:39 ID:DxspSUk3
Depends whether you're in water or on land
Name:
Anonymous2007-04-24 16:55 ID:jGMNEm4F
NO EXCEPTIONS
Name:
Anonymous2007-04-24 17:06 ID:jGMNEm4F
5. Any new thread in /prog/ will be replied to. No exceptions.
Name:
Anonymous2007-04-25 0:32 ID:L+3D44Wf
FAIL
Name:
Anonymous2007-04-26 9:05 ID:zWufBHP/
i have a question.
import javax.swing.*;
// The "Reverse" class.
public class encrytionmethod
{
int len, i;
char x;
public static void main (String[] args)
{
String phrase = JOptionPane.showInputDialog ("Enter a phrase to be encrypted:");
int len = word.length ();
phrase.toUpperCase();
for (int i = 0 ; i < len ; i++)
{
//phrase.charAt(i,i+1)
char x = word.charAt(i);
if (char x = 90)
{
char x = 65 ;
}
System.out.print x);
}
System.out.println ();
} // main method
} // encrytionmethod
this is my program. i get the error of '.class' expected what am i doing wrong? and how can i fix it?
Name:
Anonymous2007-04-26 9:53 ID:hA5nKqko
>>7
Compile it first with javac (javac shit.java), then run the class with java classname (without .java).