Consider a Java String Field named x. What will be the initial value of x when an object is created for the class x;
x
I know that for
The answer is - it depends.
Is the variable an instance variable / class variable ? See this for more details.
The list of default values can be found here.