Sign in to FlowVella

Forgot password?
Sign in with Facebook

New? Create your account

Sign up for FlowVella

Sign up with Facebook

Already have an account? Sign in now


By registering you are agreeing to our
Terms of Service

Share This Flow

Loading Flow

loading...

Downloading Image /

loading...

Downloading Image /

loading...

Downloading Image /

loading...

Java is strictly typed, we cannot store values that do not match the variable type.


int incorrect = "String";

We can only declare a variable once — cannot use the same name more than once.


The value of the variable can be a complex expression, such as an equation, which can be made up of other variables.

Few more notes...

but... Java knows how to convert some tpes


double score =10;


In memory this will be stored as 10.0.

A variable that has not been assigned a value cannot be used in an expression.

Downloading Image /

loading...

Downloading Image /

loading...

Downloading Image /

loading...

Downloading Image /

loading...

Downloading Image /

loading...

Downloading Image /

loading...

Downloading Image /

loading...
  • 1

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10

Java variables

By Jasmien Sofie