answersLogoWhite

0

There are two types of variables in Java:

• Primitives - A primitive variable can be one of eight types: char, boolean, byte, short, int, long, double, or float. Once a primitive has been declared, its primitive type can never change, although in most cases its value can change.

• Reference variables - A reference variable is used to refer to (or access) an object. A reference variable is declared to be of a specific type and that type can never be changed.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

3 kinds systems of linear equations in two variables?

hhgjk


What are the 3 kinds of variables?

independent variable,depedent variable and control variable are the 3 kinds of variables.


What are the values that are used in a function?

There are several possibilities. They can be called arguments and there are two kinds, variables and constants. Variables can have different values and constants are always the same.


What are the kinds of variables in a science project?

independent, dependent, controlled


What are the three different kinds of variable and describe each?

the three kinds of variables are independent,dependent and controlled


Kinds of system of linear equation in two variables?

There are three kinds:the equations have a unique solutionthe equations have no solutionthe equations have infinitely many solutions.


What are the two types of variables?

The two types of variables are the CONSTANT and CONTROL.


What is an equation made with two variables called?

An equation with two variables . . . seriously!An equation with one variable can be can be solved, but when there are two variables, you need two equations. This is called a system of two equations in two variables.Three equations in three variables, etc.


What does a line graph related to?

It is related to the two variables that are plotted in the line graph.It is related to the two variables that are plotted in the line graph.It is related to the two variables that are plotted in the line graph.It is related to the two variables that are plotted in the line graph.


A diagram that tells how two variables are related?

a diagram that tells how two variables are related


Quantitative variables can be separated into what two types?

nominal and ordinal is wrong; those are the two types of qualitative variables. Ratio and interval are the two types of quantitative variables.


Anova depends on having independent variables describe an abuse that might occur by having dependent variables?

there are three kinds of variables.a variable must be a situation,condition or a factor1.change or manipulated variables.-are the variables that are being tested or changed.2.constant variables.-are the variables that you are not intended to test or study,or the variables to be kept constant.3.responding variables.-are the results of the maipulated variables.