
i have a method returns object but i need int how can convert ? notice:object not means string means object
string str
map.get(str)
returns object but i need an integer

Integer i=(Integer)object; int a=(int)i;

Integer i=(Integer)object; int a=(int)i;