[Solved] what does “x = (something)” mean in java?

[ad_1]

Creates objectref for Object TextView

TextView mainTextView;

findViewById is a method having parameter R.id.main_textview and the returned value is getting casted to TextView type and stored in mainTextView

mainTextView = (TextView) findViewById(R.id.main_textview);

[ad_2]

solved what does “x = (something)” mean in java?