Primitive Data Types and Typecasting
It is a case-insensitive language to avoid confusion with SOQL and SOSL queries as they are case-insensitive. There are 12 primitive data types in apex. As follows: Blob, Boolean, Date, DateTime, Double, Decimal, Integer, ID, Object, Long, String, Time.