+ Start a Discussion
Darshit Pathak 3Darshit Pathak 3 

In which mode do future method execute? with or without sharing?

Consider below situation.
public without sharing class Class3 {
     public static void meth1() {}
public with sharing class Class2 {

in which mode meth1() of Class3 will execute?

with sharing or without sharing?

Nayana KNayana K
Without sharing.  Because that's the place where actual definition  of the resides.