Skip to content

Instantly share code, notes, and snippets.

@TheShubhamVsnv
Last active January 17, 2024 15:00
Show Gist options
  • Save TheShubhamVsnv/5a86c189ab9306aa45f6c673306adc5f to your computer and use it in GitHub Desktop.
Save TheShubhamVsnv/5a86c189ab9306aa45f6c673306adc5f to your computer and use it in GitHub Desktop.
/*
Constructors are special methods used to initialize objects when they are created.
In Apex, the constructor name is the same as the class name, and there can be
multiple constructors with different parameters.
*/
public class MyClass {
public MyClass() {
// Welcome to the object world!
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment