
Create a free Salesforce developer org (not a trial), verify your account, set a password, and log in to start building applications; you can create multiple dev orgs.
Understand how Udemy course reviews impact instructors and when to leave feedback, and use the ask me later option or the q&a for questions.
Explore the browser-based Salesforce developer console, run anonymous apex with system.debug, view logs and governor limits, and use open log and debug filters to inspect results.
Create a free developer org for this course, explore the developer console, and learn Apex code structure and syntax, write to and view the debug log.
Master variables and data types as you learn to store and manipulate data, explore simple and complex types, and create custom types to model any data in your applications.
Declare, assign, and update variables in Apex, understand data types and memory locations, and use descriptive names to prevent null reference errors and improve readability.
Explore primitive data types in Salesforce Apex, including integers, decimal, strings, booleans, date time, and IDs, and learn about strong typing, type checking, and casting.
Create and modify standard and custom sObjects in the Salesforce UI, then explore their fields, data types, and API names in Apex using dot notation and the dev console.
Learn the assignment solution for creating custom fields on the student object in Salesforce, including a number field for classes purchased and a decimal field for classes completed.
Learn to declare variables and assign values in Apex, explore primitive data types such as integer, string, boolean, and date time, and create and customize s objects with assigned fields.
Explore operators and expressions in Apex, covering arithmetic operators such as plus, minus, multiply, and divide, as well as assignment, equality, and logical operators, and learn operator precedence.
learn that in apex, an expression evaluates to a single value, with examples like arithmetic, string concatenation, and account object creation. set up learning about operators for more complex expressions.
Explore the core mathematical operators in Apex, including addition, subtraction, multiplication, division, and increment and decrement. See how these operators work across integers, decimals, strings, and date times.
Explore assignment operators, including the equal sign, addition assignment, subtraction assignment, multiplication assignment, and division assignment, with practical examples using integers, strings, and date times.
Explore how sObject equality works in Apex by comparing account instances using double equals for field values and triple equals for memory references, with memory allocation and referencing explained.
Explore logical operators for boolean values, including not, or, and, with practical dev console examples using x and y, and learn how to combine them and control order of operations.
See how Apex applies operator precedence to arithmetic and boolean expressions, with examples like 3+5*10 = 53 and (3+5)*10 = 80, and use parentheses to enforce order of operations.
Master Apex operators and expressions, learning how expressions evaluate to a single value. Explore mathematical, assignment, equality, and logical operators, and use parentheses to control evaluation order.
Explore control flow statements in Apex, using if else and switch to evaluate conditions and choose execution paths, and learn loops that repeat code until a condition is met.
Learn how if statements evaluate boolean expressions and decide which code runs, using else, else if, and nested scopes to manage variable visibility and lifecycle.
Master switch statements in Apex by using switch on x with when and when else. Handle null values, multiple values, and compare with if statements.
Learn how Apex loops execute code blocks until a boolean condition is false, covering do-while, while, and for loops, with examples of counting, incrementing, and avoiding infinite loops.
Explore object oriented Apex by distinguishing classes from objects, adding logic with methods, using constructors, and mastering access modifiers, static versus instance members, and built-in Salesforce classes.
Learn how classes define data and logic and how objects are instances of those blueprints. See class variables and methods for deposits and withdrawals in a bank example.
Learn how Apex constructors initialize new class instances, set up default values, and log execution. Explore overloading constructors with and without parameters to customize name initialization and debug output.
Learn how access modifiers control visibility in Apex, using public and private members, with a practical example of a private first name and a public setter that validates data.
Show how instance variables require an object, while static variables and methods belong to the class, illustrated with a My Tasks example.
Learn how the safe navigation operator in Apex helps prevent null pointer errors by safely accessing fields and methods, enabling defensive, clean code with examples.
Build a complete object-oriented Apex bank account class with a private balance and a private static combined balance, supporting deposit, withdraw, and get balance, then test via anonymous Apex.
Build a bank account class in Apex with private balance, a static combined balance, and deposit, withdraw, and balance getters; demonstrate with anonymous Apex using checking and savings accounts.
Explore Salesforce built-in classes in Apex, including the string and date time classes, learn how primitive types are implemented as classes, and discover how to locate methods and namespaces.
Discover object oriented Apex fundamentals, including classes vs objects, methods and constructors, access modifiers and the public‑private pattern, static versus instance members, and built‑in Salesforce classes and references.
Learn how to use Apex collections: lists store multiple values of the same type, sets enforce uniqueness, and maps pair keys with values, with guidance on syntax and use cases.
Learn how sets differ from lists by enforcing unique values, using add and remove by value, iterating with for loops, and converting between sets and lists in Salesforce Apex.
Learn how maps store key-value pairs and use a key to retrieve its value. Use put to add or update, get to fetch values, and remove to delete pairs.
Explore Apex collections by mastering lists, sets, and maps; create set from a list with unique values, convert between lists and sets, and manipulate map values via keys.
Explore the Salesforce database with Stockwell, the Salesforce Object Query Language, and use Workbench to write queries; learn to combine Stockwell with Apex and DML for data manipulation.
Explore how SOQL, Salesforce object query language, uses select and from to query accounts, then refine with where and or, order by, and limit to top results.
Explore the dev console and workbench for writing and executing sql queries on accounts, preparing sample data, viewing results, and using the query builder.
Practice hands-on SOQL with workbench or dev console to select id, name, annual revenue, and number of employees; filter, sort, cap results, and format revenue.
Learn to use soql in Apex to query accounts, bind runtime variables, filter with in clauses and id sets, and distinguish between lists and single records for efficient data access.
Walks through a SQL and DML assignment to create ten accounts, assign employees in increments of 100, save changes, and query the top five accounts by employees, handling nulls.
Master Salesforce data by querying, filtering, and sorting the database with SQL and the Workbench query builder, then use Apex with DML for bulk data operations.
Learn how to write triggers, understand what triggers are and their purpose, compare before and after triggers, and master a bulkifying pattern for multi-object efficiency.
Learn how triggers automate tasks in apex, focusing on before insert triggers for accounts to automatically set the active field to yes.
Learn to create a before insert Apex trigger on the account object, use Trigger.new to access new accounts, set active to yes, and test in the Salesforce UI.
Compare before and after triggers in Salesforce Apex, noting that before triggers save changes without extra dml, while after triggers access the new id and update related records.
Build an after insert trigger on accounts to create a related contact using the new account id, and bulkify to stay within 150 dml and 200 record limits.
Learn how Salesforce triggers respond to insert, update, and delete events, compare before and after triggers, examine basic syntax, and apply bulkification patterns for multi-object operations, with unit testing upcoming.
Learn how to write unit tests, their purpose, and test the after trigger in the trigger section. Measure Salesforce's 75% code coverage for your Apex code in your org.
Learn how unit tests validate Apex code by automating trigger checks, enabling fast regression testing, and meeting Salesforce’s 75% code coverage requirement for production deployment.
Learn to write and run a unit test for an after insert account trigger, verifying a new contact is created with first name Hello and last name World.
Learn how the assert class added in winter 23 release improves unit-test readability in Salesforce Apex by replacing system.assert with expressive methods like is true, are equal, and not null.
Learn how unit tests verify code by reducing human error, build a regression test suite, meet Salesforce’s 75% code coverage for production deployment, and use assertions to validate behavior.
Celebrate finishing the course and advance your career as a Salesforce developer. Use the Q&A for questions, and consider leaving a review to help other students and Udemy instructors.
Salesforce Development is a skill that is in high demand in today's IT job market
According to ZipRecruiter the average Salesforce Developer in the U.S. earn $115k per year
According to IDC the Salesforce ecosystem will create 4.2 million new jobs by 2024
The Salesforce platform is expected to continue to grow by around 65% per year
If you're considering a career in Salesforce Development, now is a great time. Even during the Covid-19 pandemic there has continued to be strong demand for Salesforce developers.
This course will take you step-by-step through the Apex programming language starting with basic syntax all the way through Object Oriented Apex, Triggers and Automated Testing. At the end of this course you will have a solid foundation in Apex programming and will be ready to tackle more advanced topics.
FAQ:
Q: Do I need to have programming experience to take this course?
A: No, this course assumes no prior programming experience.
Q: Do I need to have Salesforce experience to take this course?
A: No, you can succeed in this course even if you have no prior Salesforce experience.
Q: Are you available to answer questions?
A: I monitor the Q & A inside the course and will answer your questions there.