What is timerSeekBar in this java code an object or variable?What is findViewById,

I checked findViewById is a method so what is timerSeekBar, an object or a variable,got told its a variable but we are calling methods with it so it should'nt it be an object.Please explain why are we writing SeekBar before findViewById.

SeekBar -Class,findViewById- Method ?,timerSeekBar- variable or object?

SeekBar timerSeekBar = (SeekBar)findViewById(R.id.timerSeekBar);

timerSeekBar.setMax(600);
timerSeekBar.setProgress(30);

another eg-

TextView answerLabel = (TextView) findViewById(R.id.button1);

Image

2 answers