Exam Lookup

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




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