I am totally new in android.So may be my question will be like very funny for someone but still i should know the answer of my question-
TextView tv;
tv = (TextView) findViewById(R.id.anyname);
This is the code that i write in java for idtentify the resource id from xml file.As i know (TextView) is a object of View class and findViewById() is a method.Here my confusion is arising. When we invoke any method with the object then we use dot operator(.)-
obj1`.methodName()`
But for the first case there is no dot operator between object and method.So my question is why?
JavaExperts i really need help and suggestion regrading my confusion.