answersLogoWhite

0

What is a variable type in Java?

User Avatar

Anonymous

12y ago
Updated: 8/20/2019

int

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is native variable in java?

native is a key word used in java method. there is no variable as native in java


What is default value of Boolean type variable?

False will be the default value of the boolean datatype in java


What is object in methods in java?

I guess an object in a method would be any object variable, used within a method. An object variable of course is a variable that is declared as a variable of a certain class type.


Loss of precision error in java?

A loss of precision error occurs when you use a variable of a data type that holds more decimal values than the type of the variable you are converting/inserting to.


What are objects in java?

Object is like a variable of the class type which references the memory required by the attributes of the class.


How you make shared and synchronized variable in java thread?

A Variable that is shared as well as synchronized cannot be created in Java. These two terms are mutually exclusive and a variable that is synchronized in java cannot be shared and vice versa


What is the syntax of global variable in java?

There's no global variables in Java.


What happens if you don't initialize an instance variable of any of the primitive type in java?

Java by default initializes it to the default value for that primitive type. Thus an int will be initialized to 0(zero), a Boolean will be initialized to false.


Can you define variables in interface in java?

yes we can define a variable in an interface in java.


What is the code required to convert an integer variable to a string variable in Java?

There are several different methods to convert an integer variable to a string variable in Java. For example, one can use the following code to convert an integer variable to a string variable: Integer.toString(number)


How do you equate a php variable to a javascript variable?

Ideal thing would be to retrieve the value from PHP using AJAX and then assigning it to a java script variable. Thereafter compare it to the java script variable that is already present.


Can a java program has two different variable?

Yes. You can have as many variables as you want in Java