View Single Post
  #1 (permalink)  
Old 08-06-2007, 12:49 AM
fernando fernando is offline
Member
 
Join Date: Jul 2007
Posts: 40
fernando is on a distinguished road
Help with variables in java
Hi, All the online/manual and online tutorials explain how to initially assign something to a variable, but how do you change it when the program is running? In BASIC something like "if a$ = 2 then b$ = 3"

Also how can you take a string, say an input and assign it to a variable instead of using "system.out.println"

But how do you do this in JAVA? I'm not used to high level programming - BASIC is about as high level as I know.

Thanks.
Reply With Quote
Sponsored Links