Activity Forums Salesforce® Discussions How can i access data in second class from first class variable in Salesforce?

  • Manpreet

    Member
    May 22, 2017 at 6:09 am

    Hi suraj,

    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.

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos