Report Bug

QusIf s=“123”, which among the following will convert it to an integer? QusIf s=“123”, which among the following will convert it to an integer?


A. int a=Integer(s);
B. int a=(int)s;
C. int a=parseInt(s);
D. int a=Integer.parseInt(a);


Solution
D. int a=Integer.parseInt(a);



CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz