5 answers

Hi naveen,I have gone through your problem please refer bellow code:Apex class:- public class TestMap { public static void maptest(){ Map<Integer,String> lmap=new Map<Integer,String>(); lmap.put(1,'Abc'); lmap.put(2,'XYZ'); System.debug(lmap); }}I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.Thanks and Regards,Deepali Kulshresthawww.kdeepali.com