in programming how to use collection pls create video
@SFDCPathshala2 жыл бұрын
Yes sure
@laxmihotkar31992 жыл бұрын
here in map by doing the get name im only getting the name key and value, not the value of others like roll and all
@SFDCPathshala2 жыл бұрын
For other value you need to pass key name under the get method
@dineshbaddawar37892 жыл бұрын
Can you explain me little bit details about Maps
@SFDCPathshala2 жыл бұрын
Map is a object in the pair of key and value , key will be unique
@shubhacoustic71842 жыл бұрын
I think Rohit in Set and Map Collection the collection of string are executed in the form of Alphabate order ... Am i rigth
@SFDCPathshala2 жыл бұрын
No it's executing according to index value.
@shubhacoustic71842 жыл бұрын
@@SFDCPathshala Rohit i was talking about this ,whatever i asked in previous comment may be its not be meaningful >> In Set public class ClassOfSet{ Public static void SetCollection(){ set setr = new Set{'z','y','x','x','c','c','b','a'}; system.debug('The set of alfabates is '+setr); } } Execute value is : The set of alfabates is {a,b,c,x,y,z,} >>In Map Public class ClassOfMap{ Public Static void MapCollection(){ Map mapr = new Map(); mapr.put('India','Rupee'); mapr.put('Australia','Doller'); mapr.put('USA','Doller'); mapr.put('UAE','Dinar'); mapr.put('Pakistan','Rupee'); mapr.put('UK','Pound'); mapr.put('Bangaladesh','Taka'); system.debug(mapr); } } Execute Value is {Australia=Doller,Bangladesh=Taka,India=Rupee,Pakistan=Rupee, UAE=Dinar,UK=Pound,USA=Doller} here is key value also in alphabate order My APEX Code concepts are clearing through your videos ..Thanks Rohit