With sharing and without sharing in Apex Class
With sharing and without sharing in Apex Class determines whether the class should enforce all the Organization sharing settings. Scenario 1: <apex:page controller="Sample"> The count is {!intCount} </apex:page> ....