function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
james123apexjames123apex 

How to create custom objects using apex code

hi everyone,
I'm a noob here just started using salesforce.

can somebody provide me code to create custom objects.
i know how to make manually
Best Answer chosen by james123apex
Malika Pathak 9Malika Pathak 9
To create custom object you have to put __c at the end of your object name

list<objectname__c> newobj = new list<Objectname__c>();