declaring floats and strings

I am getting trouble declaring variables as float and Strings....please give mean example on how i can do this..

Comments

  • : I am getting trouble declaring variables as float and Strings....please give mean example on how i can do this..
    :
    [code]
    double someFloat;
    String someString;
    [/code]
    Notice the case of the variable types: double is all lower-case, while strings are objects, thus first letter is capitalized.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion