CreatingAccount

Print
Apex classe Details
Name CreatingAccount
Label CreatingAccount
Status Inactive
Api Version
Apex Code
public Class CreatingAccount {
        public Account createAccount(String name) { //method to create account
            Account acc = new Account();
            acc.Name = name;
            return acc;
        }
}