answersLogoWhite

0

I suppose you want to ask about variable initialization.Java initialize its variables in its constructor.

User Avatar

Wiki User

15y 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 the meaning of new keyword in java?

There is 48 reserved keywords currently defined in the java language. These keywords, combined with the syntax of the operators and separators,form the definition of the java language. these keywords can't be used as names for a variable,class or method. (chandramohan singh)


Which variable is use for create for read only variable?

That really depends on the language. Some languages have "constants" separate from "variables"; in Java, for example, the "final" keyword is used to have a variable that can't be changed once it is assigned a value.


Is the java is procedural language?

Java is an Object Oriented language not a procedural language


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 is a variable type in Java?

int


Does Visual Java plus plus and Java Builder is different from the Java language?

Yes!Visual Java plus plus and Java Builder is different from the Java language?


Why you are preferring java?

java is platform independent language and open source. java is object oriented language.


Can you define variables in interface in java?

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


Why you learn java language?

java language moreover solve the problems witch is encounter in c and c++ that s why we use the java language...


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)