int and string conversion
int convert to String:
String courseID="";
int courseId=0;
Method 1: courseID=((Integer)courseId).toString();
Method 2: courseID=courseId+"";
String convert to int:
-- Integer.parseInt(courseId);
String courseID="";
int courseId=0;
Method 1: courseID=((Integer)courseId).toString();
Method 2: courseID=courseId+"";
String convert to int:
-- Integer.parseInt(courseId);