Salesforce Class and Object in Apex

Class and Object in Apex Class: A class can be defined as a blueprint or template that describes the behavior/states of the object. Objects: Objects have states and behaviors. An object is an instance of a class. Example: A student has states – e.g., name,...

Salesforce Operators in Apex

Operators in Apex Operators are the sign that operates on one or more operands. Types of Operators: OperatorsDescriptionSyntax== operator (Assignment Operator) assigns the value of “y” to the value of “x”.  x = y+=+= operator (Addition assignment operator) adds...

Salesforce Loops in Apex

Loops in Apex Looping is a feature that makes the execution of a set of functions multiple times, although some condition evaluates to true. There are 3 types of loops: While loopFor loopDo-while loop While loop: A while loop is a control flow statement that allows...

Salesforce String Data Type

String Data Type Anything inside a Single Quotes ( ‘ ‘ ) is known as String. Index of String: The first character of the string stores at 0th index, second character stores at 1st index, and so on. Example: String str='hello world'; integer last=str.indexOf('o');...

Salesforce Primitive Data Types in Apex

Primitive Data Types in Apex There are 5 major data types available in Apex: Primitive (Integer, Double, Long, Date time, String, ID, or Boolean).Collections (Lists, sets, and maps).sObject.Enums.Classes, Objects, and Interfaces. Primitive Data Types...

Salesforce Switch Statements

Switch Statements A switch statement tests whether an expression matches one of the several cases. Syntax: switch(expression)x value1 { //statement } value2 { //statement } value3 { //statement } Default 12345678910111213141516...

Salesforce Navigating Setup UI

Navigating the Setup UI The UI in the Salesforce is mainly used by the administrators and the developers, and it is different for a regular users.  The Setup UI does not make use of tabs, global search, the app selector, or the user sidebar. It has its...

Salesforce Navigating UI

Navigating the UI For setting up the Development Environment, we have to sign up for a dev org. Click here and fill out the following term. Note: Our username must be in the form of an email, but it does not have to be a real email address. We can create...

Salesforce CRM Fields

CRM Fields   Fields contain columns like “First Name”, “Quantity”, or “Date” that define our data stored in the sheet in rows or records. There are few standard fields of the force.com which puts on every object.  Like, a few field types include standard...

Pin It on Pinterest