function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ram nallariram nallari 

I can't access the class methods and variables using array object in apex?

Mahesh DMahesh D
Hi Ram,

Please paste your current code so that it will be easy to help you.

Regards,
Mahesh
AzusfdcAzusfdc
Hi Ram,
Where you struck will you please send your minimum level of code

Regards,
Azusfdc
ram nallariram nallari
Thanks for Reply....
I don't have any code, I'm new to apex concepts. While i was learning Apex with Arrays i got this doubt.


 
bob_buzzardbob_buzzard
If your array contains custom Apex class instances and has the appropriate access modifiers, then you will be able to access the methods and variables. I do this all the time with custom wrapper classes that contain an sobject and some other information.
ram nallariram nallari
Thanks for your Reply........
Could you please send  me the sample code for my refernce..