Activity › Forums › Salesforce® Discussions › How can i access data in second class from first class variable in Salesforce? › Reply To: How can i access data in second class from first class variable in Salesforce?
MemberMay 22, 2017 at 6:09 am
This seems to be more of a OOPS question than apex per say..
If typically if you already have a class which has capability to do query, sort etc. and would like to use its functionality in another class you simply would expose its methods as public and create an object in the other class where you would to use it and call it.