Modify the code - int a,b,c; a=Integer.parseInt(t1.getText()); | SoloLearn: Learn to code for FREE!

0

Modify the code - int a,b,c; a=Integer.parseInt(t1.getText());

12/14/2017 12:19:18 PM

Ayushi Gupta

1 Answer

New Answer

+8

What is t1? I assume t1 is a textview of sorts in that case u need: t1.getText().toString() for Integer.parseInt to work