Working with Apex

Before you start coding with Apex, you need to learn a few basic things.

Apex basics

Apex has come up with a syntactical framework. Similar to Java, Apex is strongly typed and is an object-based language. If you have some experience with Java, it will be easy to understand Apex. The following table explains the similarities and differences between Apex and Java.

Similarities

Differences

Both languages have classes, inheritance, polymorphism, and other common object oriented programming features

Apex runs in a multitenant environment and is very controlled in its invocations and governor limits

Both languages have extremely similar syntax and notations

Apex is case sensitive

Both languages are compiled, strongly-typed, and ...

Get Learning Force.com Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.