0

i new to learn java programming for android. in that tutorial i found the code like this:

TextView quantityTextView = (TextView) findViewById(R.id.quantity_text_view);

As long as i know in java programming we create object like this:

Puppy myPuppy = new Puppy();

so what code (TextView) in the first code means? why TextView use round brackets ()

seseorank
  • 19
  • 5

0 Answers0