Quick Reference Guide

Salesforce Apex Data Types Cheat Sheet

Salesforce
Beginner Level

Salesforce Apex Data Types Cheat Sheet

16 Downloads
8 Views
4 Pages
May 17, 2026

About This Cheat Sheet

Complete reference to Apex data types: Primitive types (Blob, Boolean, Date, DateTime, Time, ID, Integer, Long, Double, Decimal, String, Object), sObject types (standard and custom objects), collection types (List, Set, Map), enum types, and type conversion methods. Includes syntax examples, type casting, null handling, best practices, and common use cases for each data type.

Topics Covered

salesforce apex data-types primitive sobject collection enum type-conversion casting

Download Cheat Sheet

Click the button below to download this high-resolution PNG cheat sheet.

Download PNG (3.6 MB)

Preview

Salesforce Apex Data Types Cheat Sheet Preview
Click to enlarge