Discussions tagged with 'Constructor in Apex' chanchal kumar Can we use DML operation in Salesforce Apex Constructor? William replied 6 years, 7 months ago · 4 Members · 3 Posts Salesforce® Discussions The Constructor not defind in the test class error for Salesforce Batch Class. The started a new discussion 7 years ago · 1 Member · 0 Post Salesforce® Discussions Viewing 1 - 2 of 2 discussions