Java variable question
Bit of a newbie question:
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.
Java is about as high level as BASIC is, I think.
Java doesn't refer to variables with a $ in front.
Try this site:
Hope that helps,
Thanks fot that - I'm using a novel way to learn JAVA - Knowing what I want to write (A program I need to develop for sombody) and trying to learn enough JAVA to do this.
But Seeing as JAVA is such a good language to learn, I'm going to keep expanding my knowledge, seeing as BASIC is obsolete.
Thanks for your help,
|All times are GMT +1. The time now is 05:30 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.